Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

The JavaScript on this page only work with IE 1

Status
Not open for further replies.

ychange

Technical User
Feb 14, 2007
6
US
Someone wrote the java script on this page for filling out a registration form for counselling at SCORE in Portland Oregon at this URL:
We are a volunteer organization and are getting complaints Can you please tell us how to change the script so this works for all the other browsers. I am a volunteer counsellor for SCORE in Portland.
Thanks
 
What feature does not work on which browsers? It is a very big form and there are lots of fields to fill in. Unless you tell us which features don't work on which browsers, you won't get any help.
 
Thanks.

With the "Mozilla Firefox 1.5 " and "Netcape 6.0" Browsers, when a client fills out a form and submits it comes back with an Alert: "Please select one or more Race Alternatives" which relates to question 14 in Part II of the form. No matter how many of those alternatives are clicked it comes back with the same request...........

Thanks again for any help you can give.
 
For check boxes, use checked instead of status. Then it will work on all browsers.
Code:
   var boxselected = false;
   var ss = false;
   for (var i = 0; i <= 4; ++i)
   {
       ss = document.form641.II14_Race[i].[COLOR=red]checked[/color]
       alert ("box " + i + " is " + ss);    
       if (ss == true)
       {
     	   boxselected = true;
       }
   }
 
Thanks. I'll get it implemented. We really do appreciate your help xwb.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top