Referencing select box by name doesnot work in mozilla
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Jordan_Jeevarathnam
Posted On:   Tuesday, July 13, 2004 05:39 AM

Hello, I have the following code. This is working in IE but not in mozilla. What shall I do to make it both in IE and mozilla. Constraint is that I need to refer the select box by an array to get the contents of it on the server side. function removeOptions() { field=document.getElementById("mom_inv_sel[]"); for( i=field.options.length-1; i>=0; i--) { if(field.options[i].selected) { for(j=i;j { field.options[j].text=field.options[j+1].text field.options[j].value=field.options[j+1].value } field.length-- } } ]]>]]> 22 23 24 25 30 31 Thanks in Advance    More>>

Hello,
I have the following code. This is working in IE but not in mozilla. What shall I do to make it both in IE and mozilla. Constraint is that I need to refer the select box by an array to get the contents of it on the server side.

			





Thanks in Advance    <<Less

Re: Referencing select box by name doesnot work in mozilla

Posted By:   Jordan_Jeevarathnam  
Posted On:   Tuesday, July 13, 2004 06:33 AM

The following code will work.. Thanks




About | Sitemap | Contact