JavaScript in WebPage
-
I would like to be able to insert this JavaScript code into a single page
and cannot seem to find a method that works. Any ideas?<SCRIPT language="JavaScript" For="window" Event="onload"> <!-- if(indexSelect[0].checked){indexSelect[0].click();}else if(indexSelect[1].checked){indexSelect[1].click();}else if(indexSelect[2].checked){indexSelect[2].click();} else if(indexSelect[3].checked){indexSelect[3].click();} if (indexSelect[1].checked) { if(document.hotForm && document.hotForm.cityText) { document.hotForm.cityText.focus(); } } //--> </SCRIPT>
[Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘JavaScript in WebPage’ is closed to new replies.