Hai friends, in a jsp Page when i select a value from select box, i have to refresh the page with values according to the value selected from Select box. its working fine with IE but not working with Mozilla This is the present code - the values are dynamically generated depends upon value in DB <select name="selectedPartNumber" onchange="javascript:goSelected(this.options[this.selectedIndex].innerText, PartSurveyResponseForm);"> <option value='3' >3 rev a</option> <option value='1' >1 rev a</option> <option value='2' >2 rev a</option> <option value='32' selected>32 rev t</option> <option value='544' >544 rev u</option> </select> ************************************************ Javascript: // goSelected is called when a different value is selected from Part/Rev drop down list box function goSelected(selText,form) { var formValResult = validatePartComplianceResponse(form); if (formValResult == false) { return false; } var selTextArray = selText.split(" "); if ( form.modified.value == 'YES' ) { form.selPartNumber.value = selTextArray[0]; form.selPartRev.value = selTextArray[2]; form.action = "/supplier/rohs/SavePartSurveyAction.do"; } else { form.partNumber.value = selTextArray[0]; form.partRev.value = selTextArray[2]; form.action = "/supplier/rohs/PrePartSurveyAction.do"; } form.submit(); return true; }
Is "PartSurveyResponseForm" the "name" of your form ? If yes, try setting that string to "name" and "id" form attributes.
its some compatibility problem.. since it is working fine in IE can someone fine out whts the problem in Mozillaa