< JQuery

Je begint met de volgende regel code.

JavaScript-code: Het document opzetten

$(document).ready(function() {
//jQuery code
});

Je kunt dit ook doen door het iets anders te formuleren.

JavaScript-code: Het document opzetten (2)

var main = function {
//jQuery code
}

$(document).ready(main);
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.