furqan_sindhu
12-18-2005, 04:50 AM
hello all !
i have a drop down menu in my site and what i wanna do is when user selects an option from the drop down menu, search the database and fill the relevent details of the selected option in the text boxes present in the same form.
now, i can use javascript to call a function for onchange property of select tag
e.g. <select name="etc" onChange="displayvalues()">
BUT problem is how can i get values from database in that function ????
pls help me in this regard!
i have a drop down menu in my site and what i wanna do is when user selects an option from the drop down menu, search the database and fill the relevent details of the selected option in the text boxes present in the same form.
now, i can use javascript to call a function for onchange property of select tag
e.g. <select name="etc" onChange="displayvalues()">
BUT problem is how can i get values from database in that function ????
pls help me in this regard!