what is jquary no conflict ?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Soumalya DasPosted Aug 8, 2016, 12:25 AM
Many JavaScript libraries use
$as a function or variable name, just as jQuery does. In jQuery's case,$is just an alias forjQuery, so all functionality is available without using$. If you need to use another JavaScript library alongside jQuery, return control of$back to the other library with a call to$.noConflict(). Old references of$are saved during jQuery initialization;noConflict()simply restores them.If for some reason two versions of jQuery are loaded (which is not recommended), calling
$.noConflict( true )from the second version will return the globally scoped jQuery variables to those of the first version.