chadmichael Posted January 16, 2006 Share Posted January 16, 2006 Hello.I have a form in a secondary window. When the form submits, I want the window to close and the form targe to be the original opening window. The target property of the form takes a string. I tried to use the opener.name but it doesn't seem to work. Are there some tricks or quirks to this.Chad Link to comment Share on other sites More sharing options...
aspnetguy Posted January 16, 2006 Share Posted January 16, 2006 try opener.location or opener.window.locationopener.name is the name of the window not the url of the window. Link to comment Share on other sites More sharing options...
chadmichael Posted January 17, 2006 Author Share Posted January 17, 2006 opener.name is the name of the window not the url of the window. <{POST_SNAPBACK}> I know that opener.name is the name, not url. But the form.target is supposed to be set to a string that is the name of the target window or frame. What I thought would work would be one of the default names such as "_parent", but apparently this applies to the parent frame. Is there such a default name for the opener of a new window? try opener.location or opener.window.locationDo you mean to set the opener.location = myURL? I think I understand this, but how do I submit my form at the same time? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now