Checking for references-Collection of common programming errors
I have an external .js script. I want it to do one thing if the html file using it is referencing jQuery, and do another if it doesn’t. is this possible? Can I reference jQuery from my script to prevent this problem?
Originally posted 2013-11-09 19:12:03.