I am using Magento 2.1.7 version and am facing js errors in the console which causes many issues like could not open the popup, could not open tabs. enter image description here
Asked
Active
Viewed 2,166 times
0
-
Use `jQuery` instead of `$` and for more information see this link [Fixing jQuery – Prototype Script Conflicts](https://caspar.green/jquery-prototype-conflict/) – M0ns1f Jan 20 '18 at 20:07
-
@M0ns1f Still am getting same error. – Octopus Jan 20 '18 at 20:46
-
And this is my code: – Octopus Jan 20 '18 at 20:47
-
can you put the code where where the `$.widget` is – M0ns1f Jan 20 '18 at 20:50
-
Do I need to change $.widget as $j.widget everywhere? Am I getting wrong? – Octopus Jan 20 '18 at 20:55
-
yes or just change all the `$` to `jQuery` no need to use `j$ = jquery.noConflict(); ` – M0ns1f Jan 20 '18 at 21:00