I have also faced such problems many time in web develoment carrier. Actually its not JS conflict, When we load html website to the browser we face no such error, but when we load these type of website through localhost we face such problem. That's because of localhost. When we load scripts through the localhost it scans the script and renders the output. But when we didn't use localhost. It just scan the output. Example, when we write php code putside the localhost and run without host we get error. But if the code is correct and is run through host we get actual output, and when we use inspect element we get the output code in HTMl format but not in PHP format this is because of rendering of the code.
This is rendering error. So to fix these jquery code error one of the solution may be using this method.
jQuery(document).ready(function($){
/******** Body of Jquery Code*****/
});
What this code does is register '$' as the varible to the function by applying jquery. Else by default the .js file is only read as javascript.
Net
tab of Firebug (make sure jQuery actually gets loaded).