Posted By:
ketan_shah
Posted On:
Friday, June 9, 2006 06:48 AM
New Document function refreshType1Options() { var Type1Selected = form1.Type1; //var isType1Selected = false; var i =-1; if(Type1Selected) { if(Type1Selected[0].checked == true) //if Option1 option is selected { document.form1.AppTypeOption1.disabled = false; document.form1.AppTypeOption2.disabled = true; document.form1.Type2[0].disabled = true; document.form1.Type2[0].checked = true; document.form1.Type2[1].disabled = true; document.form1.ParamsUsingOption1.disabled = true; document.form1.T1.disabled = true; //disable Input param Text box } else if (Type1Selected[1].checked == true) //if Option1 Option is selected { document.form1.AppTypeOption1.disabled = true; document.form1.AppTypeOption2.di
More>>
New Document
I have an HTML page with following options
* Option 1
* Option 2
* sub option 2.1
* sub option 2.2
What I require is,
Case 1 : Option 1 selected
--------------------------------
Disable following,
Combo2
sub option 2.1
combo2.1
sub option 2.2
combo 2.2
Case 2 : Option 2 selected
--------------------------------
Enable following,
combo2
sub option 2.1
combo2.1
Disable following,
Combo1
sub option 2.1
combo2.1
sub option 2.2
combo 2.2
The following is the code which I have which works with Mozilla but not with IE. Any idea what I may be doing wrong here?
<<Less