Ie8 Unspecified Error
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss
Script16389 Unspecified Error Ie 11
the workings and policies of this site About Us Learn more about script16389: unspecified error. line: 1, column: 1 Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions ie11 unspecified error Jobs Documentation Tags Users Badges 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.
Javascript "unspecified Error"
Join them; it only takes a minute: Sign up What does 'unspecified error' mean in IE? up vote 8 down vote favorite I'm getting 'unspecified error' when reading document.namespaces in IE. I can't seem to reproduce the problem in a standalone page, my snippet is: function addNamespace(key, value) { try { $("html").attr(key, value); if (document.namespaces && // This throws the error !document.namespaces[key]) { document.namespaces.add(key, value); } } catch (e) { alert("Error: " + e); } }; Never mind right now why I'm trying to add a namespace at runtime (it has to do with Facebook Like not working properly ... see this comment - Facebook like button showing in Firefox but not showing in IE). My question is simple - on what conditions does 'unspecified error' occur? jquery internet-explorer internet-explorer-8 share|improve this question edited Aug 9 '15 at 2:31 John 3,22232769 asked Oct 3 '11 at 10:23 ripper234 66.8k168464747 Which IE version used? –Andrew D. Oct 3 '11 at 10:41 @Andrew - tagged IE 8. –ripper234 Oct 3 '11 at 11:09 In my test in IE8 standard mode all worked fine (but I use document.getElementsByTagName("html")[0].setAttribute("xmlns:"+key, value);). –Andrew D. Oct 3 '11 at 11:22 @Andrew - I did say I failed to reproduce the issue in a standalone page. For some reason this happens on my full page though (can't link to it right
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more 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 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 IE8 unspecified error in javascript file up vote 1 down vote favorite 1 I had an unspecified error in IE8 in my jquery-1.3.2.min.js file at line:19; I dont know how to fix it because that file has lot of functions. is there any solution for this problem to fix http://stackoverflow.com/questions/7633722/what-does-unspecified-error-mean-in-ie this error?... javascript internet-explorer-8 share|improve this question asked Sep 12 '12 at 5:47 Naveen 92316 This is the definition of vague. That said, I've had problems where I've tried to work with an element that I just created in JQuery before adding it to the document. For example, IE didn't like me using .hide() on an element unless it was .append()ed first. –Marty Sep 12 '12 at 5:53 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote accepted It's probably not http://stackoverflow.com/questions/12381896/ie8-unspecified-error-in-javascript-file in jQuery but in the code that calls it. From a machine that has IE9 or IE10, run the same page, use F12 to get developer tols on, and run in IE 8 browser (user agent) and DOM mode (both), run the debugger from there and see in the stack trace what calls in your code reached this line. share|improve this answer answered Sep 12 '12 at 5:52 Meligy 16.3k53363 I just incude this file as source... i dont know where i called in my code... –Naveen Sep 12 '12 at 6:16 You mean there are no other JS files in the page? If you just don't know which file has the call, that's why I mentioned using IE developer tools debugger. You should see a tab in the developer tools showing you stack trace when the error happens, if it didn't show, press the debug (a green arrow similar to "Play" button in a media player, or "Run" button in Visual Studio) and it should show you the hierarchy of calls. –Meligy Sep 12 '12 at 6:28 1 I include 3 JS files in the page... i will try in IE8 with developer tools to identify the error.. –Naveen Sep 12 '12 at 6:34 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the priv
Sign in Pricing Blog Support Search GitHub This repository Watch 630 Star 12,119 Fork 2,945 angular-ui/ui-router https://github.com/angular-ui/ui-router/issues/481 Code Issues 237 Pull requests 39 Projects 0 Wiki Pulse Graphs New issue Unspecified error occurs in ie8 related to jquery.js when I switch state #481 Closed beninfobelt opened this Issue Oct 4, 2013 · 5 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned unspecified error 3 participants beninfobelt commented Oct 4, 2013 Hi, I have come across an error in ie8 that I have pinpointed down to the use of a particular javascript library called nice-scroller: github.com/inuyaksa/jquery.nicescroll.git The error does not appear when I load a particular url path: http://localhost:9000/#/home/projects However, when I travel away from this ie8 unspecified error url to another one, this error occurs only in ie8 (no issues in latest versions of Chrome and FF): Unspecified error. jquery.js Code:0 URI: http://192.168.1.8:9000/bower_components/jquery/jquery.js I am sure that I have pinpointed it down to nice-scroller because when I comment out this block in nice_scroller_directive.js, the error does not occur while using ie8: /* $elem.niceScroll({ cursorborder:"#ddd", cursorcolor:"#ddd", cursoropacitymin:"0.0", //cursoropacitymax:0.0, cursorwidth:"10", cursorborderradius:"0px", //scrollspeed:100, touchbehavior:"true", bouncescroll:"true", cursordragontouch:"true" }); */ To provide some further background, I use nicescroller in a directive called niceScrollbar and use that directive as an attribute in projects.html: I am curious if anyone has come across any issues with jquery when traveling across different states created with ui-router? Is there some sort of requirement to use .remove() or .detach() or .off() before the state switches? I found this stackoverflow link that says "Unspecified errors seem to occur when something (usually a value) isn't set or initialized correctly that the browser is attempting to use." http://stackoverflow.com/questions/7633722/what-does-unspecified-error