Ie Javascript Error Invalid Argument. Code 0
Contents |
here for a quick overview of the site Help Center Detailed answers to 0x80070057 - javascript runtime error: invalid argument. any questions you might have Meta Discuss the workings and
Invalid Argument Error In Javascript
policies of this site About Us Learn more about Stack Overflow the company Business Learn more javascript invalid argument exception about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community error invalid argument. at anonymous function Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Why am I getting this error “Invalid argument”? up vote 3 down vote favorite On one page I have an error that only happens in IE 8
Ie11 "invalid Argument." -angular
(possibly other versions of IE, but 8 is what I have installed). Message: Invalid argument. Line: 31 Char: 1 Code: 0 URI: https://verify.authorize.net/anetseal/seal.js This error is causing the page to stop rendering and it just appears to keep loading (the tab has the loading icon and says "Connecting..."). This is the relevant code:
be down. Please try the request again. Your cache administrator is webmaster. Generated Mon, 17 Oct 2016 06:40:55 GMT by s_ac5 (squid/3.5.20)
August 11, 2009 by Frank Kim Today I noticed one of my links were not working. This was only happening in Internet Explorer 8. Looking down at the status bar in the lower left corner I saw the message “Error on page.” Double-clicking http://betweengo.com/2009/08/11/javascript-invalid-argument-internet-explorer-only/ on it popped up this window full of useless information. A Google search for “internet explorer invalid argument” brought me to this page, Internet Explorer Sucks. Fortunately the author had run into this problem and figured out the solution. It turns out In Internet Explorer, the second argument to the JavaScript window.open method, which is the windowName argument, can’t have spaces. My original link looked like this. What's this? When I took out the spaces from the windowName invalid argument argument the link worked. You would think Internet Explorer 8 would have fixed this issue by now, it doesn’t affect any other modern web browser. Related posts: Unobtrusive JavaScript Internet Explorer form does not invoke ATG handler Twitter Weekly Updates for 2009-08-16 Turning off Perforce Windows Explorer Integration URL.equals and hashCode make blocking Internet connections This entry was posted in JavaScript and tagged internet explorer, JavaScript by Frank Kim. Bookmark the permalink. 31 thoughts on “JavaScript Invalid Argument in error invalid argument Internet Explorer Only” John on August 18, 2009 at 2:36 AM said: A massive thank you for sharing this information. I had exactly the same problem. Firefox was fine but IE was doing what it is good at and stressing me out! Your solution worked perfectly. I wonder if I could sue Bill Gates for loss of hair and a drinking habit….? 😉 Frank Kim on August 18, 2009 at 2:42 PM said: Thanks John. Your thank you comment is almost exactly the same as the thank you comment I left in the blog post I referenced, "Internet Explorer Sucks." 🙂 Li on September 21, 2009 at 6:42 AM said: Thank you so much!!! I have been pulling my hair for twenty minutes when I came across this page: I had a space in the name field of my new window. I would never thought of it. Thank you so much. Li Frank Kim on September 21, 2009 at 6:44 AM said: You are quite welcome Li. 🙂 snw on January 2, 2010 at 3:09 PM said: Name can't have - either. That was my problem. Thanks for pointing me to the right direction! jscolo on January 19, 2010 at 7:50 AM said: Thanks. In addition to not allowing spaces, dashes are also not allowed. Frank Kim on January 19, 2010 at 7:56 AM said: Wow, not even dashes! Thanks for the