Click here to Skip to main content
15,921,716 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I got Microsoft JScript runtime error: 'jQuery.browser.msie' is null or not an object when I debugged on the code below
JavaScript
jQuery.support.cors = true;     // fine for this line
if (jQuery.browser.msie && window.XDomainRequest) {  // error displayed

I also tried
JavaScript
$.support.cors = true;     // fine for this line
if (j$.browser.msie && window.XDomainRequest) {  // error displayed

but got the same thing. What's wrong with my code? Thanks in advance for your help.
Posted

Hello ,

Pls you can find the answer here if you are using jquery 1.9

http://stackoverflow.com/questions/14524289/browser-is-undefined-error[^]

All the Best:)pls write back if you need support!
 
Share this answer
 
Comments
[no name] 27-Jan-14 7:28am    
Kathy: Thanks for your response. I tried V1.8, the error still exists. Besides, got additional error on
.support.cor = true;
Currently, I am using V10.2. Any additional advisory? Thanks.
From http://stackoverflow.com/questions/14458511/livefunction-and-jquery-browser-is-undefined-in-jquery-1-9-0, the .browser() has been removed as well: http://api.jquery.com/jQuery.browser/.
Refer to
https://github.com/Studio-42/elFinder/issues/469, I added

This error was gone. But there are some other errors. I will open another thread for it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900