Does anybody see anything wrong ith this code? I want to have the
elements disabled on load by default and it doesn't seem to work this
way.
Thanks
Rob
<script language="Javascript">
<!--
window.onload(DisableElements());
function DisableElements(){
document.forms[0].RepContactDemographic_2_1.disabled = true;
document.forms[0].RepFlightTravelArriveDate_1.disabled = true;
document.forms[0].RepFlightTravelDepartDate_1.disabled = true;
document.forms[0].RepContactDemographic_3_1.disabled = true;
document.forms[0].RepContactDemographic_4_1.disabled = true;
document.forms[0].RepDepartureCity_1.disabled = true;
}
//-->
</script>
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!