469,344 Members | 6,192 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,344 developers. It's quick & easy.

how to hide/show div tag in ajax?

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
1 1430
Dormilich
8,652 Expert Mod 8TB
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.

Similar topics

2 posts views Thread by Sandra | last post: by
4 posts views Thread by jerryyang_la1 | last post: by
1 post views Thread by Norman | last post: by
2 posts views Thread by Greg | last post: by
4 posts views Thread by =?Utf-8?B?U3JpZGhhcg==?= | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.