WWW FAQs: How can a form in one window or frame generate results in another window or frame?


2006-11-24: The techniques that work for following ordinary links in another window or frame work just as well for forms. Just specify a target attribute for the form element. Submitting the form will update the other window or frame, leaving the current window or frame unchanged. For more information, see my article how can a link in one window send another window or frame to a new page?

Legal Note: yes, you may use sample HTML, Javascript, PHP and other code presented above in your own projects. You may not reproduce large portions of the text of the article without our express permission.

Got a LiveJournal account? Keep up with the latest articles in this FAQ by adding our syndicated feed to your friends list!