This question already has an answer here:
- How to add Jquery in Magento? 5 answers
I cannot include Jquery in magento because after including jquery-2.2.2.min.js in magento admin side,it have conflict with prototype.js.
$.noConflict(); can remove the conflict,but the jquery will not work then.This is the actual problem.