![]() |
![]() |
#1 (permalink) |
Crazy
Location: Fayetteville, AR
|
[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. |
![]() |
![]() |
#2 (permalink) |
In Your Dreams
Location: City of Lights
|
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 |
![]() |
![]() |
#3 (permalink) | ||
Tilted
Location: Tha Boro
|
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:
__________________
I try to take life one day at a time, but sometimes several days attack me at once. |
||
![]() |
![]() |
#4 (permalink) |
Crazy
|
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();"
__________________
Even if you stop the clock, it gives the right time twice a day. Once we get out of the eighties, the nineties are going to make the sixties look like the fifties. |
![]() |
Tags |
html, info, javascript, send, window |
|
|