Internet Explorer Error Invalid Argument Code 0
Contents |
be down. Please try the request again. Your cache administrator is webmaster. Generated Wed, 19 Oct 2016 00:44:04 GMT by s_nt6 (squid/3.5.20)
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies window.open invalid argument of this site About Us Learn more about Stack Overflow the company Business
Script87 Invalid Argument
Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges ie9 error invalid argument Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: http://answers.microsoft.com/en-us/ie/forum/ie8-windows_7/script-error-line-1527-char-1-error-invalid/a56f27a3-e5aa-40e1-a025-8cbd27ce0ad5 Sign up How do I fix `Internet Argument Code: 0` in Internet Explorer 8? up vote 2 down vote favorite i have this line somewhere in my JS file while(this.c.offsetWidth > this.w - s && --exit){ w = isNaN(this.cw[0])? this.w - s : --this.cw[0]; if(w < 1 || this.w < Math.max(1, s)){break;} this.c.style.width = isNaN(this.cw[0])? this.w - s + 'px' : --this.cw[0] + http://stackoverflow.com/questions/9749112/how-do-i-fix-internet-argument-code-0-in-internet-explorer-8 this.cw[1]; } IE keeps telling me Invalid Argument code:0 but its working fine on other browsers (as expected from IE) javascript internet-explorer share|improve this question edited Mar 17 '12 at 11:24 asked Mar 17 '12 at 10:12 Ronan Dejhero 2,17083585 IE what ? version? –mpm Mar 17 '12 at 10:14 1 Right as it stands there, your JS is malformed - missing a { –Christoph Mar 17 '12 at 10:15 Sorry , code edited , didn't copy the whole loop –Ronan Dejhero Mar 17 '12 at 10:16 @camus IE8 , and IE9 i guess (my friend says the error is reproduced there as well but i haven't confirmed it yet) –Ronan Dejhero Mar 17 '12 at 10:17 missing an ( in front of your condition of the ternary op. –Christoph Mar 17 '12 at 10:20 | show 7 more comments 2 Answers 2 active oldest votes up vote 2 down vote accepted My guess is that the problem lies in this line: this.c.style.width = isNaN(this.cw[0]) ? this.w - s + 'px' : --this.cw[0] + this.cw[1]; If
Error on page and Invalid argument. Tagged:Error on page, Invalid argument. Viewing 7 posts - 1 through 7 (of 7 total) Author Posts August 7, 2010 at 4:25 pm #601 swiftmarketingParticipant Please let us know why we http://www.kriesi.at/support/topic/window-7-internet-explorer-8-error-on-page-and-invalid-argument/ are getting page error and the slider stops after the second slide on IE 8 on Window 7 Following is the error report generated by IE 8 on Windows 7. Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB6.5; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C) Timestamp: Sat, 7 Aug 2010 14:54:18 UTC Message: Invalid argument. invalid argument Line: 144 Char: 219 Code: 0 URI: http://www.companywebdesign.ca/wp-includes/js/jquery/jquery.js?ver=1.4.2 August 9, 2010 at 12:33 pm #32139 James MorrisonParticipant Hey! Interesting, the latest version of jQuery is 1.4.2 - which version of WordPress / Levitation are you using? Also, which plugins do you have active? If you disable them all does the slider function correctly? Best regards, James August 10, 2010 at 4:50 am #32140 swiftmarketingParticipant Thank you for trying to help error invalid argument us out. We are using WordPress 3.0 and looks like we are using Levitation Template Version: 1.3.1 We have disabled all Plugins. (Akismet, & Hello Dolly) Just a note. The site works fine on Firefox (Window 7 & Ubunto OS), Apple Safari (Windows 7 and Apple OS 10….) Issues we have is on IE 8 in combination with Window XP and 7. Thank you August 10, 2010 at 2:07 pm #32141 James MorrisonParticipant Hi! This may be a bug in the theme. I'll try a clean install and test in IE8 / Win XP & 7 and let you know once I've got it up and running. Regards, James August 11, 2010 at 10:17 am #32142 swiftmarketingParticipant Hi James, We also tested it with Google Chrome browser and it works fine. So it looks like It's only with IE8 ( may be IE7) browser's which is causing the issue. We even tried inserting a ( temporary fix) code so that IE8 will emulate IE7