When you submit a form, the page redirects to the response page.
This prevents us from submitting the form again to another script. There is an attribute ‘target’ that can be used with the form.
especially the independent loading, it works kind of ajax. I think you do the jquery call where you want the content to appear. I think you do the jquery call where you want the content to appear.
DIVs still can't do what IFRAMEs does, and the proposed solution is a workaround that, for all practical means, just opens up a 'hidden' iframe (the Xml Http Request object.) Ok, seems i Frame is the easiest solution.
I'm sure it can be done in JQuery but I'm not really sure why it isn't working for me, oh well.
Imagine you have a form that needs to be processed by different scripts based on user’s input. You can use Java Script to switch the action field of the form just when the submit button is pressed.
See the page below for some examples: Switching the form’s ‘action’ field dynamically What we will try to do in this post is still more adventurous: submitting the same form to multiple scripts at the same time!