0

Magento as far as I know have it already loaded but jQuery functions won't work in my module. What can I do with it ? How can I make sure I have an access to it ? I would like to avoid jQuery conflicts.

5
  • Please describe your question more with HTML and jQuery code/functions that are not working/conflicting. Commented Jul 26, 2016 at 11:06
  • I just want use some jQuery functions in my module but if I not attach it to the module it won't work :(
    – Rob D. A.
    Commented Jul 26, 2016 at 11:24
  • please describe your question MORE with code Commented Jul 27, 2016 at 8:44
  • If I would like to use jQuery in my module and if jQuery is not added with this module I says jQuery missing so I'm asking how can I use jQuery which should be already loaded with basic template/layout or not ?
    – Rob D. A.
    Commented Jul 27, 2016 at 13:29
  • this code will check if jQuery is available or not. if (typeof jQuery === 'undefined') {console.log("jQuery is NOT available");} else {console.log("jQuery is available");} Commented Jul 27, 2016 at 13:36

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.