I have a script:
I click on radio and nothing seems to happen. But when I click on any field after selecting radio, all fields' values are shown.
What must I do to make sure these values are shown as they are changed?
Regards,
Jose Lerebours
KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours
Code:
<script language="JavaScript" type="text/javascript">
function SetAddress1() {
document.getElementById('attAddr1').value=document.getElementById('hideAddr1Address').value;
document.getElementById('attCity').value=document.getElementById('hideAddr1City').value;
document.getElementById('attState').value=document.getElementById('hideAddr1State').value;
document.getElementById('attZip').value=document.getElementById('hideAddr1Zip').value;
}
</script>
[/code'
I also have a radio input
[code]
<input onchange="SetAddress1()" type="radio" name="attseladdr" value="SelAddr1" />
I click on radio and nothing seems to happen. But when I click on any field after selecting radio, all fields' values are shown.
What must I do to make sure these values are shown as they are changed?
Regards,
Jose Lerebours
KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours