All opinions expressed are those of the authors and not necessarily those of OSNews.com, our sponsors, or our affiliates.
  Add to My Yahoo!  Subscribe with Bloglines  Subscribe in NewsGator Online

published by Adam S (firsttubedotcom) on 2006-05-11 13:37:18 in the "History" category
Adam S

I spent about an hour troubleshooting why a stupid popup window wouldn't work in IE. I tried everything - I renamed the window. I added "void" to the var in the js function calling it. I moved the script inline, and then to a separate script page. I tried everythng, but would always get the same nonsense error:

Error: Invalid argument
Line: 37
Char: 2
Code:0

on file: scripts.js. When I added it inline, it changed to:

Error: Invalid argument
Line: 37
Char: 2
Code:0

file: index.php

The problem? Apparently, IE cannot process a window name if it has a space in it. Ridiculous!


Comments