(09-23-2018, 10:46 PM)kvanaraj Wrote: dashboard:146 Uncaught ReferenceError: $ is not defined
i thing this is the error i got in console .
If it's your browser console, sounds like issue loading jQuery properly before it's used, not PHP issue.
If your jQuery file loads successfully, you probably should look into ready function - if jQuery isn't loaded by the time you are trying to use any of the $ functions, it'll give you error you stated before, so you must wait for document to be ready (all scripts/css loaded) before running any of your JS code.