![]() |
[html - javascript] Have one window send info to another
I have an admin page for adding new posts, and I am working on an edit posts function.
I can get an edit post form to pop up in a smaller window. When the user presses submit on the form, I would like to send that info back to the main page and close the smaller one. Is this possible, or would I have to use dhtml to do something like this (not even open a "real" new window, but pop up a dhtml window)? Sorry if I am way off base, I'm used to php, but not javascript or dhtml. Thanks for any help/ideas. |
I'm not a huge fan of Javascript.. but that said:
http://developer.irt.org/script/40.htm If that doesn't help, check out the complete JS FAQ: http://developer.irt.org/script/script.htm |
Here's an example of a function that is used to pass an IP address back to a form in another window
You could probably modify it to produce the ouput that you're wanting Function Quote:
Quote:
|
The thing about writing client-side javascript is that you are going to run into major browser compatibility issues. I personally hate writing applications to be "IE-only" apps. My suggestion is to advoid complex client-side javascript. And by complex, I'm saying pretty much anything besides "document.forms[0].submit();"
|
All times are GMT -8. The time now is 06:34 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project