I heard that ajax is very powerful for creating dynamic web pages. Is there any way to create a dynamic select field. Like I have two select fields and take data from the database. When choosing a particular item in first select field then its sub categories should be displayed on the second select field. Is it possible to do this without reloading the page?
creating dynamic select field
Collapse
X
-
Tags: None
-
creating dynamic select field
I heard that ajax is powerful tool for creating dynamic web pages. Is there any way to make the select field dynamic. For example I have two select fields and I have fill data from the database. When changing the option in first select field its subcategories should be diplayed on the second select field. Is this possible to do without reloading the page? -
hi ...
of course ... you may have a look at some ajax tutorials that are mentioned in the offsite links at top of the js-forum, at our js-articels ajax-section and at least for example the following 2 threads:
Dynamic drop down menu?
How can I assign value to a hidden field from a select?
kind regardsComment
-
-
Yes it is possible, but you want the JavaScript Forums. Once there post the code you are having trouble with and they will assist you.
thank youComment
-
very possible and very easy, In this javascript forum there is a stickied thread called Offsite Links, and in there theres a Category called Ajax I believe you can get most of what you need out of those tutorial and informational links.
If you need more help after you attempt to make an ajax query yourself post back with the problems you are having or if you don't understand something post back and we'll try to explain it.Comment
-
Dear Friends ,
Can i do it same work without using Ajax means using only java- script .... |????
sanjayComment
Comment