The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript $ is not a function error Reply To: $ is not a function error


In your HTML file the first script you link should be jquery, then your javascript file, otherwise the browser will include your javascript file first and won’t understand what half the functions mean.

Also, you should look at the official website for information on when to use the noConflict, because you may not need to do this unless your using other libraries using the same dollar sign alias.