jquery how to set jquery DOM name -


i studying jquery , customize it. when check stackoverflow.com source code view source code in browser. found :

stackexchange.ready(function () {         stackexchange.using("postvalidation", function () {             stackexchange.postvalidation.initonblurandsubmit($('#post-form'), 2, 'answer');         }); 

how write stackexchange.ready , function stackexchange.question.init, stackexchange.realtime.subscribetoquestion etc

pls me

something -

var yourcustomname = $(document);

go ahead - yourcustomname.ready(function () {


stackoverflow has custom ready method -

stackexchange.ready=function(d){stackexchange.initialized.done(d)}; 

Comments

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -