No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
2 Posted Topics
body> <form name="wfwd"> <select name="wcode" onChange="disp(document.wfwd)"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> </select> <?php [B]$id=$_get['id'];[/B] [B]echo $id;[/B] ?> </form> </body> <script> function disp(Object) { var index=Object.wcode.selectedIndex; var value=Object.wcode.options[index].value; var item=Object.wcode.options[index].text; [B]document.wfwd.action='worksfwdtogovt.php?id=item';[/B] [B]document.wfwd.submit();[/B] }//disp can i return the value of item into the form using this javascript. i want to echo …
How can i get a selected value from combo box ? i used combo.selectedItem.But it is not working.will u pls give me a solution for this
The End.
praseena