Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Butser

    Using <script> tag when using win.document.write(' ... ');

    thanks for your help - this resolved the problem.
  2. Butser

    Using <script> tag when using win.document.write(' ... ');

    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...
  3. Butser

    onClick multiple event handler:going to a url and closing child window

    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?
  4. Butser

    onClick multiple event handler:going to a url and closing child window

    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...
  5. Butser

    onClick multiple event handler:going to a url and closing child window

    Sorry - replied before seeing your last post! What do you mean by "escape the inner double quotes"?
  6. Butser

    onClick multiple event handler:going to a url and closing child window

    Thanks for reply - I tried enclosing the url using single quotes but my browser reports an error saying "Expected ')'".
  7. Butser

    onClick multiple event handler:going to a url and closing child window

    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...

Part and Inventory Search

Back
Top