+ Start a Discussion
Aakanksha Singh 11Aakanksha Singh 11 

Jquery not working in Salesforce1(Lightning Component)

Hello everyone,

I'm facing issue in lightning component in regard with jquery. It is working fine in lightning experience, but in salesforce1 it is throwing following error(please refer to the screenshot):

Here is my code:
<!----jquery.min.js (version 2.2.4)---->
<aura:component implements="force:appHostable">
    <ltng:require scripts="{!$Resource.jquery}" afterScriptsLoaded="{!c.scriptsLoaded}"/>

	scriptsLoaded : function(component, event, helper) {

Please respond

Aakanksha Singh