JS/jquery

Test if jquery has loaded

Anna 안나 2009. 1. 5. 01:20
$(document).ready(function() {
alert('hi');
});

This uses jQuery's .ready function on the document object




Sure. You could do this:if (typeof jQuery != 'undefined') { // do something}