Sounds like you want an Ajax request fired off when the select box changes.
kaushal sharma
Greenhorn
Joined: Oct 04, 2009
Posts: 26
posted
0
Hi David,
I understand your suggestion but i want to use javascript as i know we can get an ID of every select option, so can't we send the ID to my Action Servlet when it's selected? It may feel the page is refreshed or do we try something else?
My suggestion *was* to use JavaScript, make an Ajax request when the select box is changed, and send back just the HTML for the table containing the data based on the ID (or whatever) selected in the select box.
kaushal sharma
Greenhorn
Joined: Oct 04, 2009
Posts: 26
posted
0
Hi David,
hope you would have some documents available online in response to my work. i do not know AJAX. Please suggest me so, that i will be able to understand the development part.
If you're going to use Ajax, just search the web for Ajax. I'd *strongly* recommend using a JavaScript library if you go that route--doing it without a library (like jQuery, Prototype, whatever) is a pretty bad idea.