Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JQuery not working with android browser

Tags:

jquery

android

I have been using jquery for my web development for a while, and when i use android browser to view my work, i find out that all the jquery function like hide() show() doesn't seems to work.

Can anyone validate this for me, I wonder why jquery is not working for android browser, I am using 2.3.1 right now. Does anyone come across with this problem before?

like image 814
Ryan Fung Avatar asked Aug 08 '12 02:08

Ryan Fung


1 Answers

jQuery works just fine in Android browser. The problem isn't that jQuery doesn't work in Android. The problem is something else.

It's hard to say what that problem might be without any code, but you can try to get more hints as to what might be going wrong by looking in the JS error console (or whatever the equivalent is in Android or an Android emulator--basically, where JS errors are logged).

If you want to get super ambitious, you can try debugging it with Weinre or something like that.

like image 146
Trott Avatar answered Oct 02 '22 13:10

Trott