Hi Geeks,
I m very new to
JSP and
java script.
I have a 2 dropdown list. In both drop down i m fetching some data from data base.
In SECOND DROPDOWN LIST I have to fetch data depending on the selected item of the SECOND DropDOwn list. I have succeeded in that.
PROBLEM :
But when I select an item in first dropdown list, i m posting fors data to jsp code,and proper resuld are reflecting back. But on every ONCHANGE event on my first dropdown list page is getting reloaded and the FIRST DROPDOWN list data is get emptied. I mean it should contain what I have selected after posting parameter to jsp.
How can I stop from this or how can i retain value in the dropdown list. Is should get set back to default....