I have two drop down boxes; one contains "State" and other contains "City".
I wish to populate Cities according to the value selected in State Drop down.
For this I would like to use Ajax to avoid page refresh. And for fetching values in City I am using Struts Action class to give call to server side code.
Does anyone know; How to do this?
Thanks for reply.
I am getting data from my DAO classes format those in Struts Action class in format id,value;id,value;id,value.
Could also separate this in further step by using split and could get id and value in a for loop.
my question is then how to update the dependant <html:select> on the jsp?