
May 30th, 2001, 12:49 PM
|
|
Junior Member
|
|
Join Date: May 2001
Posts: 5
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
JavaScript variables passed to java variables
Hello,
I am trying to pass a variable that is given it value on onchange
</select></td>
<td align=center><select onchange = "setTandemSwitchString()" name="switchListTable" size="10">
<%= switchListInfo%>
</select></td></tr>
this calls setTandemSwitchString()
function setTandemSwitchString()
{
strSwitch = document.eoFrame.switchListTable.options[document.eoFrame.switchListTable.options.selectedIndex].value;
document.eoFrame.switchList.value = strSwitch;
}
I am trying to send strSwitch variable back to the bean so I need it to pass it back as a java variable.
any suggestions?
Thanks 
|