How to check if jQuery is loaded

To check if jQuery is loaded you can use the following snippet.

Sample jQuery

if (!jQuery) {
	//do something, jQuery is not loaded
}

Please Share us:
Please rate this snippet

2 thoughts on “How to check if jQuery is loaded

Leave a Reply