Hi all,
how to display the selected value in value prompt by using java script?
that selected value i have to check before clicking on FINISH?
The following url shows some basic techniques using javascript
http://www-01.ibm.com/support/docview.wss?uid=swg21376964 (http://www-01.ibm.com/support/docview.wss?uid=swg21376964)
thanks for ur reply, i have used that doc only for the reference. the following i have written to get the value.
<SCRIPT type="text/javascript">
var form = getFormWarpRequest();
var VPT = form._oLstChoicesV;
var val = VPT.options[0].selected.value;/ var val=VPT.options[0].value; ( tried both)
alert(val);
</SCRIPT>
but am unable to get the selected value. tell me how wud i get that
I did not create a test case, but I believe it would be: VPT.options[VPT.selectedIndex].value
thanks this helped me