Hi Ranchers,
I have the following problem while submitting a form on onchange event of a drop down menu.
I want to submit the form onchange of drop down, it calls a
servlet, servlet returns the model to the
jsp. I want to use this model into my javascript function.
But what is happening is finalFile variable in the js function is running before the form submit. Thus I am getting older value in model.fileName.
I want that on change event, the form must get submitted, and then the finalFile must be assigned the value in model.fileName.
Any suggestions are welcome.
Thans