[Javascript] Popup window stumper
Terrence Donnelly
pag000 at mail.connect.more.net
Mon Dec 17 11:18:09 CST 2001
Thanks for the advice, but I tried inserting alerts and they never
appear. I've got error messages turned on, but they don't appear
either. I guess the browser somehow considers the popup to be
a separate, unreachable, window. Anyway, I've given up on it,
and decided just to insert the code directly into the calling
page. Then it works fine.
-- Terry
At 04:12 PM 12/15/01 -0600, you wrote:
>Terry,
>
> Do you have error messages turned on? It seems like you should be getting
>*something* if you're trying to call a function that can't be found. Try
>adding an alert to the beginning of the TryItOut function to see if it's
>getting called; if it's not, I'd venture a guess that you still can't call
>functions from other windows...
>
>Cheers,
>
>Peter
>
>|-----Original Message-----
>|From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On
>|Behalf Of Terrence Donnelly
>|Sent: Saturday, December 15, 2001 12:15 PM
>|To: javascript at LaTech.edu
>|Subject: [Javascript] Popup window stumper
>|
>|
>|Could somebody tell me why the following code doesn't work. This file
>|is included as a .js file in the head of the main document. A simple
>|click on a link calls function gologit. This function correctly
>|makes a new window and displays the form and image in it, but clicking
>|on the "Log In" button does nothing at all. I'm assuming I have
>|some sort of reference problem and/or confusion between the
>|parent and child windows, but I am stumped!
>|
>|Thanks in advance.
More information about the Javascript
mailing list