Change web page content when user selects a value from Combo

A

Anonymous

Guest
Dear All,

Please help me !!

I want to sort the data displayed on web page on click of button.


I have a combo in which all user have to select the sort order in which he wants to see the data...(The combo box or drop down box contains values "Name, Department Salary and Grade)

The user select the order (say name) by clicking the combo box or drop down box.

The moment the user releases the combo or drop down box, I want to refresh the page with new sort order.
 
add this attribute to you're select field.
Code:
onchange="submit();"
make sure that the field is in a correctly configured form, it will then automaticly post when the value is changed.
for browsers wich have no javascript you can add a small button to submit the form.

Greetz Daan
 
Back
Top