participate


JavaServer Pages (JSP) and JSTL - Problem in Mozilla
<<   Back to Forum  |   Give us Feedback
This topic has 3 replies on 1 page.
leo_michael
Posts:42
Registered: 2/13/07
Problem in Mozilla   
Mar 28, 2007 1:18 AM

 
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
 
leo_michael
Posts:42
Registered: 2/13/07
plz help -- Problem in Mozilla   
Mar 28, 2007 2:08 AM (reply 1 of 3)  (In reply to original post )

 
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;
}
 
BalusC
Posts:29,775
Registered: 4/26/06
Re: plz help -- Problem in Mozilla   
Mar 28, 2007 2:16 AM (reply 2 of 3)  (In reply to #1 )

 
Install the Developer Toolbar and/or Venkman Javascript Debugger extensions for FireFox. JS errors guaranteed ;)
 
leo_michael
Posts:42
Registered: 2/13/07
Re: plz help -- Problem in Mozilla   
Mar 28, 2007 4:05 AM (reply 3 of 3)  (In reply to #2 )

 
hai friends,
plz provide a solution for this compatability problem
 
This topic has 3 replies on 1 page.
Back to Forum
 
Read the Developer Forums Code of Conduct

Click to email this message Email this Topic

Edit this Topic
  
 
 
Forums Statistics

About Sun forums
  • Sun Forums is a large collection of user generated discussions. It is here to help you ask questions, find answers, and participate in discussions.

    Check out our guide on Getting started with Sun Forums for a full walkthrough of how to best leverage the benefits of this community.

Powered by Jive Forums