Ionic with jQuery


#1

i am trying to build a mobile app, but i need some jQuery functions to make it function. at first i thought nothing was wrong since i am debugging it using ionic serve on firefox and everything seems to function. all interface runs smooth and jquery commands executing properly. but when i compiled the app and installed it on my android device. the jquery functions seems to not respond.

i embedded a CDN for the jQuery

<script src = "https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"> </script>

i hope somebody can help me out here.


#2

Ionic will not work with some jQuery versions. Try a lover 1.X.X version and tell us what’s happening.


#3

What jQuery api do you need? Angular comes with jqLite if common DOM ops is what you are talking about.