Object doesn't support property or method '

2019-02-27 03:12发布

问题:

I encounter a problem with IE 10 regarding its support. The website is very good to use in other browser except IE.. I also tried using IE 11 and still it didn't work.

I used angularJS and IE could not recognize querySelector..

Can anyone have an idea how to solve this one? Please help me..

The version of of my AngularJS is v1.2.22

I attached my error message

Thank you so much for helping me..

UPDATE

Through the help of Syed Ali Taqi I already passed that error by Deleting all history, and cookies and resetting the settings but i got a new problem and it is like this

[$rootScope:inprog] http://errors.angularjs.org/1.2.22/$rootScope/inprog?p0=%24digest

I wonder why the IE error that part but not in other browser like Chrome and firefox.. I am very sensitive in compatibility of site to all browser because we cannot dictate the user what browser to use..

Please anyone can help me

回答1:

This should solve the problem:

  • Delete all History
  • Clear Cookies
  • Reset IE settings


回答2:

I think it's something else that is fails. http://caniuse.com/#feat=queryselector according to that the support should be there in IE10.

Make sure the IE is not using any compatability mode to view your site. Goto Settings > compatatibilty mode > make sure display intranet sites in compatability mode is NOT checked.



回答3:

please see the IE9 equivalent of querySelectorAll and check the compatibility mode of your IE browser also.