[nycphp-talk] More Client-Side Grief
Adam Fields
fields at surgam.net
Tue Oct 29 12:56:01 EST 2002
On Tue, Oct 29, 2002 at 12:16:40PM -0500, krisjanis gale wrote:
> this is ABSOLUTELY *NOT* a cross-browser solution...
> only things that work in all browsers without any issues
> are either copying values to a set a hidden fields in the parent
> and having the child submit that form in the parent and then close
> itself, OR to have the child redirect the parent then close itself
> using an onload handler as part of the script that deals with the
> submitted form... i *wish* setting the form target (either
> dynamically with javascript or statically using the target=
> attribute of form) but it isn't support unequivocally,
> and it's not likely that it ever will be.
Interesting. It's part of the HTML 4.01 spec.
http://www.htmlref.com/reference/AppA/form.htm
http://www.w3.org/TR/html4/present/frames.html#h-16.3
What browsers don't support this?
> >2) As a point of interest, you can absolutely put the results of a
> >form in another window.
> >
> >You can do this by setting the target attribute of the form, either
> >directly in the form tag or with javascript - it's a property of the
> >form object.
--
- Adam
-----
Adam Fields, Managing Partner, fields at surgam.net
Surgam, Inc. is a technology consulting firm with strong background in
delivering scalable and robust enterprise web and IT applications.
http://www.adamfields.com
More information about the talk
mailing list