Well.... here's briefly what we're trying to do.....
Say you have an input box, and the user types something in it and is prompted with a pop-up window with buttons "yes", "no" and "cancel", asking if he/she wants to save the changes... if user clicks yes, pop-up window will close and user will be returned to parent window with text in input box unchanged(i.e. origial text from inbox PLUS extra stuff typed in by user) , but if user clicks no, pop-up window will also close but instead of the previous case, only the original text(whatever was in it before user types anything) will remain in the box. We managed to do the "yes" case with some php codes but we're too much of a newbie in everything that we were so stuck from that point... so we're just wondering if it's possible to do the above problem entirely in javascript or v.v....
but then we wouldn't know how to link the two pages properly and also how to call each functions from different windows (even from within the same window.... it's a bit confusing in and out of the php and javascript tags.... )
That's the best i can do to explain... hopw you can get what i'm trying to do......
of course, if anybody can help it'll be great!!! :rolleyes:
Bo&Vic