$(document).ready(function () {
// Code that executes when document is ready.
});
However, when looking around at examples in the API documentation, you'll sometimes see this which apparently is equivalent:
$(function() {
// Code that executes when document is ready.
});
No comments:
Post a Comment