问题
In my project i am using ReactNative WebView.My WebView Page Contain Lots of jquery Functions When i link That Page Only Designs are Displayed in Mobile, Functionalities are Not Working Properly.
回答1:
Did you linked to the CDN of Jquery maybe? because you need to have it local and load it by this methode:
<script src="assets/js/jquery-3.2.0.min.js"></script>
and did you do this in your mainActivity.java?
view.getSettings().setJavaScriptEnabled(true);
来源:https://stackoverflow.com/questions/44919864/jquery-not-loading-reactnative-webview-in-android