Is there a way to add Jquery No Conflict at an inline level? With something like this as an example:
<a href="javascriot:void(0)" onclick="$('body').html('<h1>Hello World!</h1>');">
Click Me!
</a>
I keep running into conflict problems with other frameworks I have installed and it’s something so simple I don’t really want to add an onclick event for it. So how can I add a jquery no conflict clause to an inline onclick?
Use
jQuery()instead of$()This way you avoid any conflicts of the value of
$