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="Javas cript">
<!--
window.onload(D isableElements( ));
function DisableElements (){
document.forms[0].RepContactDemo graphic_2_1.dis abled = true;
document.forms[0].RepFlightTrave lArriveDate_1.d isabled = true;
document.forms[0].RepFlightTrave lDepartDate_1.d isabled = true;
document.forms[0].RepContactDemo graphic_3_1.dis abled = true;
document.forms[0].RepContactDemo graphic_4_1.dis abled = true;
document.forms[0].RepDepartureCi ty_1.disabled = true;
}
//-->
</script>
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
elements disabled on load by default and it doesn't seem to work this
way.
Thanks
Rob
<script language="Javas cript">
<!--
window.onload(D isableElements( ));
function DisableElements (){
document.forms[0].RepContactDemo graphic_2_1.dis abled = true;
document.forms[0].RepFlightTrave lArriveDate_1.d isabled = true;
document.forms[0].RepFlightTrave lDepartDate_1.d isabled = true;
document.forms[0].RepContactDemo graphic_3_1.dis abled = true;
document.forms[0].RepContactDemo graphic_4_1.dis abled = true;
document.forms[0].RepDepartureCi ty_1.disabled = true;
}
//-->
</script>
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Comment