surfer97301
08-09-2004, 10:08 PM
Hi,
I generate a popup input window from the main svg
window and I want to have the onclick method of the
input form take the values of that form and call a
function in the svg's js.
I have tried opener.document.myjsfunction() and
opener.myjsfunction() but neither seem to work.
Any ideas?
I am having a hard time figuring out the correct
syntax for window ecma calls. What specs is the best
one to look at?
For instance it wasn't obvious to me that when calling
window.open() it won't work but calling open() will.
or that when dynamically creating my popup window that
var generator = open();
generator.document.write();
generator.document.write();
wouldn't work and needed to be:
var generator = open().document;
generator.write();
generator.write();
in order for more than one method to be used.
Thanks again!!!
I generate a popup input window from the main svg
window and I want to have the onclick method of the
input form take the values of that form and call a
function in the svg's js.
I have tried opener.document.myjsfunction() and
opener.myjsfunction() but neither seem to work.
Any ideas?
I am having a hard time figuring out the correct
syntax for window ecma calls. What specs is the best
one to look at?
For instance it wasn't obvious to me that when calling
window.open() it won't work but calling open() will.
or that when dynamically creating my popup window that
var generator = open();
generator.document.write();
generator.document.write();
wouldn't work and needed to be:
var generator = open().document;
generator.write();
generator.write();
in order for more than one method to be used.
Thanks again!!!