简体   繁体   中英

Javascript error in mobile device

I am customizing the styles for mobile device support in all my app pages. Right now I have lot of js and css includes in the layout page, I have copied them as is for the mobile layout page. I am getting this javascript error in the mobile device simulator browser

"Result of expresssion aa.AttachEvent[undefined] is not a function"

Right now the main layout page contains all css and js as they are there for the main app (jquery 1.7, jquery-ui.min.js and some othe jquery related files )

How do I debug this error in mobile browser?

have you tried using firebug?

It will show you the errors and what line of code and the page it is on.

http://getfirebug.com/

https://chrome.google.com/webstore/detail/bmagokdooijbeehmkpknfglimnifench

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM