jQuery issue

implementing a jquery code in assets as xxxx.js file , then calling it from the view as $view->includescript(path/xxxx.js); but with no response , even replacing $ by mQuery doest solve the issue . any suggestions ???

implementing a jquery code in assets as xxxx.js file , then calling it from the view as $view[‘assets’]->includescript(path/xxxx.js); but with no response , even replacing $ by mQuery doest solve the issue . any suggestions ???