PDA

View Full Version : Calling Functions from checkbox for Netscape


HebronChild
August 9th, 2004, 05:52 AM
Go to http://www.questnet.ca/reg/registration.php. Choose in "choose a camp" > Senior Teen. Let page load. Choose in "choose an impact option" > Classic choose 3. Let page Load. Right click view page source.

Calling a function from the checkboxes there in the form "camp." The checkboxes are c1, c2, c3, c4, etc. Calling change_box(parameter) from onClick event does not work in Netscape or Mozilla but perfectly in IE.

Help on this matter is greatly appreciated.

HebronChild

degsy
August 9th, 2004, 03:39 PM
You have not used IDs for the checkboxes.

try
<input id="c1" ......


Also, in Mozilla when you have the page loaded type in the address bar
javascript:
then click GO.

It will bring up the javascript debugger.

HebronChild
August 9th, 2004, 04:45 PM
Thank you very much. Apparently final is *almost* a reserved word in mozilla. MM_reloadPage will have to move as well. Thanks again.

HebronChild

HebronChild
August 9th, 2004, 04:53 PM
Yey. Thanks. Check out felgall for javascript resource. http://www.felgall.com

HebronChild