By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,654 Members | 1,582 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,654 IT Pros & Developers. It's quick & easy.

how to hide/show div tag in ajax?

P: 1
I want to display something new based on prior selection in select box? I am new to Ajax. How can I achieve it?
Sep 14 '11 #1
Share this Question
Share on Google+
1 Reply


Dormilich
Expert Mod 5K+
P: 8,639
in short, you add an event handler/listener to the select box that fires when the desired action happens (most often the change event), make an AJAX request with the selectís value and insert the returned data into the page.
Sep 14 '11 #2

Post your reply

Sign in to post your reply or Sign up for a free account.