i have a form which has a submit button. On the click of submit two things should happen
1)It should make an ajax call, hit the server and get some response as a popup to the user.The user sees multiple values in popup, and he selects say one value from multile values(say) displayed in popup.
After selecting the value from popup, popup disappers and he hits the submit button again
2)Now normal flow should happen.Normal flow means that it should look into action tag to decide which
servlet to call etc etc. (Pt 1 happens only for the
FIRST time)
How do i make it work. Please help (using jquery for Javascript, ajax etc)