Facts:
ajaxToolkit AutoCompleteExtender in this specific screen works fine in IE, and Firefox
ajaxToolkit AutoCompleteExtender works fine in Chrome, in a different screen, same application
But not here. Right now I am getting errors like this:
Uncaught Error: Sys.InvalidOperationException: Type
AjaxControlToolkit.Animation.Animation has already been registered.
and
Uncaught Error: Sys.ScriptLoadFailedException: The script
'http://abc/def/ScriptResource.axd?d=uZ7YXSkj4n5b51-4hy2B1kBoyWBzAKQobQalIia8aju5_q790-3ZI8fdE9mfezSEesp77ToyxGv7_erOfA-X853srHT0dJkwMzZ98t3kSUkbkMEhd1StAYZDits_77x15a31Dr-0FO4ytW-aNwix2qkS_181&t=634263938860000000'
failed to load. Check for: Inaccessible path. Script errors. (IE)
Enable 'Display a notification about every script error' under
advanced settings. Missing call to
Sys.Application.notifyScriptLoaded().
Anyone ever had any issues like this?
Scriptresource.axd is not something I tried to change before, so I am feeling totally lost.
So after a lot of debugging, I removed the UpdatePanel from the screen, and it is working fine in Chrom, Firefox, and IE as well.
Related
I've been trying to figure out why it wont scroll. This issue only arises with Google Chrome. I'm assuming it has to do with some sort of depreciation.
http://www.keywestvideographer.net/
Previously when you clicked on About or Contact it would scroll to that section of the page.
plugins.js:24 [Intervention] Registering mousewheel event as passive due to smoothscroll.js usage. The smoothscroll.js library is buggy, no longer necessary and degrades performance. See https://www.chromestatus.com/feature/5749447073988608
I went ahead and edited plugin.js and did what the instructions said on chromestatus.com but it didnt solve the issue.
Any idea why it wont scroll or what needs to be done to fix this issue?
Fix your JS error first and test again.
"Uncaught TypeError: Cannot read property 'container' of undefined"
Edit: You have the error on both FF and Chrome. The reason that it dont work on Chrome, but works on FF is that Chrome is treating it as a breaking error, while FF is just catching the error and proceeding through the script.
The error relates to revslider. It seems it is looking for an element that does not exist on your page.
You have your JS minified, so I cant really debug past that point.
We have been using interact.js for a while now in our angular web application. I recently updated google chrome to v55. Since this happened, I'm getting the following error in the console every time I enter the browser window (probably mouseenter event):
interact.js:637 Uncaught TypeError: Cannot read property 'pageX' of undefined
at getXY (interact.js:637)
at getPageXY (interact.js:654)
at setEventXY (interact.js:598)
at Interaction.setEventXY (interact.js:1307)
at Interaction.pointerMove (interact.js:1757)
at HTMLDocument.<anonymous> (interact.js:3307)
The error occurs regardless of wether we ever call interact(). I added outputs to every code line where we call interact() but even on pages where we do not call interact() a single time, the error comes up in the console log whenever the mouse enters the browser window.
I don't get this error in any other browser and I did not get it before I updated Google Chrome.
I tried changing the version of interact.js and found out that the error does not occur until v1.2.4 (latest version is 1.2.5).
Has anyone got the same or a similar problem and knows how to bypass this?
I just found out it is a known issue for interact.js and chrome v55:
https://github.com/taye/interact.js/issues/457
We are building a Saas product and have purchased a bootstrap dashboard, all the JS/CSS assets are loaded though a sobdomain via our CDN.
Works perfectly on chrome but on ie and ff the components do not load properly, on ff I get the following errors:
TypeError: can't access dead object
ReferenceError: event is not defined
A link to a non working example is below (We don't want to give access to our working dashboard for commercial reasons) You can see the error when click on the "dropdown" menu item. As far as I can tell, all the assets are loading correctly.
http://hunchbuzz.com/acme/index.html
Any help would be appreciated.
Well, take your bugs one by one. Did you turn on the JavaScript Debugger when you tested your page in IE? In the F12 developer tools, select Script and then Start Debugging.
First there were a couple of errors in jquery.sparkline.min.js which I ignored for the moment. Then I tried clicking your 'dropdown' link and got this error:
SCRIPT438: Object doesn't support property or method 'preventDefault'
custom.js, line 3 character 1193
The highlighted code is (reformatted for readability):
$('.dropmenu').click( function(){
event.preventDefault();
// ...
});
Do you see the problem? What is event? The code should be:
$('.dropmenu').click( function( event ){
event.preventDefault();
// ...
});
The fact that it worked in any browser at all is probably due to the global event variable that some browsers create for compatibility with very old code.
Now back to the sparkline problems. I see it hitting two errors in jquery.sparkline.min.js, but with the minimized code the problem isn't jumping out at me the way the other one did.
When you're debugging, it would help a lot to load the non-minified versions of jquery.sparkline.js, custom.js, jQuery, etc. Then you'll have readable code to look at in the debugger, which should make it easier to spot these problems.
I have a page with two flickrshow galleries on it. They both work fine in FF, Chrome, Safari, ie6+ but not ie9. I am fixing various js problems by using
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
to emulate ie8. Problem is that there is still an error for the js and ie is throwing up the 'webpage error, do you want to debug' message each load.
Using the Debugger, error is:
SCRIPT5007: Unable to get value of the property 'removeChild': object is null or undefined
flickrshow-7.2.min.js, line 11 character 4468
The line of the flickrshow js that gets highlighted with the error on:
a.elements.script.parentNode.removeChild(a.elements.script)
Suggestions please, thanks
Since you haven't given much context for your code. Try logging a.elements.script.parentNode and a.elements.script and a to see if you actually are getting the elements your expecting. From the error I assume since it has something to do with IE not getting the HTML element correctly. However, it could be something with a I'm assuming it is a variable for something, but I'm not sure what.
Having trouble with my site and IE9, if i change the compatability mode to anything other than IE 9 standard my login popup works however when in IE9 standard which is the defult it does not work. I think the best way to look at this is to try it yourself. My Site
I don't have IE9 handy, but a guess would be that it might be falling over due to a JavaScript error: Uncaught TypeError: Cannot set property 'popup' of null. This error is occurring because the point at which you're creating a Popup for popup_4, the DOM element for popup_4 doesn't exist yet.
You could fix that by moving the popup_4 div above the script block that's creating the Popup objects.