Hi,
I would like to include a javascript function in a popup window. However, IE returns the following error "unterminated string constant" when I use the following code: "win.document.write('<script>');".
Hope that I have provided sufficient details of the problem and would be grateful for...
Hi,
Thanks for the reply - this works great! Really appreciate your help.
What is the significance of the '\' char - why is it required when using win.document.write?
Hi,
This is the exact code that I am using:
win.document.write('<input type="button" class=button value="Close Window" onClick="self.opener.location='http://www.oracle.com'; self.close();">')
The button is to appear in a popup window fired from the main browser window. When I press the...
I would like to do two actions when an onClick event is fired: 1 = go to a url; 2 = close a window.
The problem is that I believe the url must be enclosed in double quotes whilst also double quotes must be used to enclose multiple event handler code. Hence, my borwser is reporting a syntax...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.