documentready
// A $( document ).ready() block.
$( document ).ready(function() {
console.log( "ready!" );
});
documentready
// A $( document ).ready() block.
$( document ).ready(function() {
console.log( "ready!" );
});
jquery document ready shorthand
// Pass jQuery to a self executing function (closure) that maps it to the dollar sign so it can't be overwritten by another library in the scope of its execution
(function( $ ){
$.fn.myPlugin = function() {
// Do your awesome plugin stuff here
};
})( jQuery );
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us