Forum Moderators: coopster

Message Too Old, No Replies

Select from combo box

         

abhilash cherukat

3:57 am on Mar 4, 2008 (gmt 0)

10+ Year Member



I want to display a tables content in a table when i select a table name from the combobox in the same page.I tried to reload the page but then i am not getting the result.
i wrote a javascript for the change event for combo box and it reloads the page but when it reloads the selected item is changed to the default one. I dont want to use a submit button
Help me please

Vis3R

12:40 pm on Mar 4, 2008 (gmt 0)

10+ Year Member



In javascript when you reload the page send the combobox's current value as a get variable back to your script, then in your script use $_GET to find out which item in the combo is selected, and parse the table's html.