Sagar Dumbre wrote:
In ajax jsp page i want to have values of two different drop down list. and ajax page will be called by only one function (Say. showState() ) which is declared at onChange event of both the drop down list
There is no such thing as an "ajax jsp page". Remember JSP is a server-side technology. Once the page reaches the browser, it's just HTML.
So are you saying that you need to pass both values to an Ajax request? If so, what's the problem? I've already shown you how to obtain the value of any control on the page. Please be more specific on your questions.