Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~8K People Reached
Favorite Forums
Favorite Tags
php x 4
Member Avatar for manal

Salam... I need to get value that has been selected from combobox .. the values in combobox is taken from column's contents of one of tabel in database..so once i write if x=combobox.selectedvalue..i got error that i Additional information: Operator is not valid for type 'DataRowView' and string

Member Avatar for kvprajapati
0
8K
Member Avatar for praseena

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 …

Member Avatar for Puckdropper
0
76
Member Avatar for praseena

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

Member Avatar for sn4rf3r
0
110