on select of value in drop down list
Moderator: General Moderators
on select of value in drop down list
i have a drop down list of values which i had retrieved from table and displayed in this select drop down box...each value in drop down has corresponding information stored in table......now what i want to do is get the information for the corresponding value from the database table when one of the value is selected and display it below....how do i go about it?is it using ajax or plain php itself?
- social_experiment
- DevNet Master
- Posts: 2793
- Joined: Sun Feb 15, 2009 11:08 am
- Location: .za
Re: on select of value in drop down list
You could do it with php but if you want the action to take place without refreshing (or clicking a sumbit button) you will have to use AJAX.
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering