Jquery Unspecified Error Ie
Contents |
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 script16389 unspecified error ie 11 Learn more about Stack Overflow the company Business Learn more about hiring developers
Script16389: Unspecified Error. Line: 1, Column: 1
or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack ie11 unspecified error Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up What does 'unspecified error' mean in IE? up script16389: unspecified error. 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
Javascript "unspecified Error"
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,23232769 asked Oct 3 '11 at 10:23 ripper234 66.8k168464748 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 now, sorry). –ripper234 Oct 3 '11 at 11:24 Which key|value you use: example? –Andrew D. Oct 3 '11 at 11:31 | show 1 more comment 2 Answers 2 active oldest votes up vote 7 down vote Unspecified errors seem to occur when something (usually a value) isn't set or initialized
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 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up SCRIPT16389: Unspecified error. jquery.min.js, line 2 character 91826 http://stackoverflow.com/questions/7633722/what-does-unspecified-error-mean-in-ie up vote 11 down vote favorite 1 Another Internet Explorer Javascript error. I can't debug as well since Internet Explorer's debugging tool is even slower than Eclipse which is quite an achievement.... Can anybody see what's causing the SCRIPT16389: Unspecified error. jquery.min.js, line 2 character 91826 error? jquery internet-explorer share|improve this question edited Jun 25 '15 at 3:04 asked Dec 17 '12 at 10:35 bicycle 5,81443062 1 http://stackoverflow.com/questions/13912461/script16389-unspecified-error-jquery-min-js-line-2-character-91826 Errors in jquery.js are usually caused by incorrect usage of a jQuery function. Can you isolate when it happens? What does your page do when it turns up? –Pekka 웃 Dec 17 '12 at 10:38 @Pekka It however only shows in Internet Explorer... When the page is loaded various ajax calls are being made. Like $(document).ready(function() { $.ajax({type: "GET", url: "\/slider.php", }).done(function( html ) { $("#jui").html(html); if ($("#vpo").html().length == 0) activateSlider(); }); –bicycle Dec 17 '12 at 10:40 Strange... the only thing in your code that strikes me as odd is the backslash in the ajax URL, what's it doing there? Other than that, are you 100% sure $("#jui") and $("#vpo") exist? –Pekka 웃 Dec 17 '12 at 10:43 Yes they do. I have to put the backslash because otherwise '/slider.php' would give an error i think.... –bicycle Dec 17 '12 at 10:44 A backslash to escape a slash? I don't think you need that. Try removing it just in case... Other than that, the only idea that comes to me is to use alert()s instead of the debugger, maybe you can isolate the problem more exactly that way (I've never really
Navigation ← Previous TicketNext Ticket → Opened 4 years ago Closed 4 years ago #13393 closed bug (fixed) .focus() results in 'Unspecified error.' IE9, v1.9 Reported by: https://bugs.jquery.com/ticket/13393 Firsh Owned by: timmywil Priority: blocker Milestone: 1.10 Component: event Version: http://craigsworks.com/projects/forums/showthread.php?tid=1450 1.9.1 Keywords: Cc: Blocked by: Blocking: Description When called on its own (not in a click handler or something like that), it returns this in IE9 (dev console). Tried with jQuery migrate, no joy. min: LOG: JQMIGRATE: Logging is active SCRIPT16389: Unspecified error. jquery.min.js, unspecified error line 2 character 7390 dev: LOG: JQMIGRATE: Logging is active SCRIPT16389: Unspecified error. jquery.js, line 3216 character 5 JSfiddle: http://jsbin.com/aloleq/2/edit Thought it was that I was using SIAF before the html elements are loaded (not sure where jsfiddle puts scripts), but it's not the case. Interestingly it doesn't occur in the view mode of jsfiddle, only unspecified error ie in the edit view (and in my plugin). Oldest first Newest first Threaded Comments only Change History (8) comment:1 Changed 4 years ago by Firsh It works when called with an 1ms setTimeout: http://jsbin.com/#/ogahac/1/edit comment:2 follow-up: ↓ 3 Changed 4 years ago by dmethvin This is related to #13378, which only repros inside an iframe. Asking about document.activeElement seems to be grounds for the IE9 script death penalty while the page is loading. Slightly modified test case: http://jsbin.com/aloleq/8/edit Workaround, use native DOM .focus(): http://jsbin.com/aloleq/10/edit comment:3 in reply to: ↑ 2 Changed 4 years ago by Firsh Replying to dmethvin: Workaround, use native DOM .focus(): http://jsbin.com/aloleq/10/edit The [0] workaround is king! Last edited 4 years ago by Firsh (previous) (diff) comment:4 Changed 4 years ago by dmethvin Component changed from unfiled to event Milestone changed from None to 1.9.2 Priority changed from undecided to blocker Status changed from new to open comment:5 Changed 4 years ago by timmywil Owner set to timmywil Status changed from open to assigned commen
support [NON-BUG RELATED] > [Solved] qTip, jQuery & Unspecified error > Thread Rating: 0 Votes - 0 Average 1 2 3 4 5 Threaded Mode | Linear Mode [Solved] qTip, jQuery & Unspecified error 5th November, 15:56 (This post was last modified: 5th November 16:21 by dev2537.) Post: #1 dev2537 Junior Member Posts: 3 Joined: Nov 2010 Reputation: 0 [Solved] qTip, jQuery & Unspecified error I am using qTip plugin, and getting the following error in IE jquery-1.3.2.min.js, line:19, Char:35440, Code:0; any idea what is causing this. The error does not break the qTip functionality but it keeps showing up. I am new to jQuery. I forgot to mention that the errors start to show up only after hovering on the links for the first time. 10th November, 01:14 Post: #2 Craig Creator Posts: 5,586 Joined: Feb 2010 Reputation: 42 RE: qTip, jQuery & Unspecified error dev, can you incldue the non-minified script and post the error you get from that? Can't do much wit the minified error. 10th November, 17:02 Post: #3 dev2537 Junior Member Posts: 3 Joined: Nov 2010 Reputation: 0 RE: qTip, jQuery & Unspecified error (10th November 01:14)Craig Wrote: dev, can you incldue the non-minified script and post the error you get from that? Can't do much wit the minified error. JS Code
xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==