Wrox Programmer Forums
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old August 2nd, 2006, 07:41 AM
Authorized User
Join Date: May 2006
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Default form action attribute

hi i had created a jsp which opens using window.open.

now this opened page has a submit button but the action attribute of the form tag is empty. now when i submit the page i realize that the url used to open this page from my parent page is used again.

i am a bit confused as to why it does so. is it made to that?
can someone clarify

thanks for the help

Old August 2nd, 2006, 08:22 AM
richard.york's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts

If you don't want an action, make it:



Beginning CSS: Cascading Style Sheets For Web Design
CSS Instant Results

Old August 2nd, 2006, 08:30 AM
Authorized User
Join Date: May 2006
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts

not like that i want to know how action behaves and why it takes the url called by the parent

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change form ACTION value from checkbox value Nazz Javascript 3 March 10th, 2005 11:50 AM
Form Action Problem.. NitinJoshi General .NET 2 January 6th, 2005 06:02 AM
Two action in a form johnjohn Classic ASP Components 1 November 16th, 2004 05:45 PM
multiple form action jack1234 JSP Basics 1 June 8th, 2003 01:42 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.