Ceriwis

Ceriwis (https://forum.ceriwis.com/forum.php)
-   Programming (https://forum.ceriwis.com/forumdisplay.php?f=63)
-   -   [ASK] Akses selector di JQuery (https://forum.ceriwis.com/showthread.php?t=538697)

Braincode 11th November 2011 02:00 PM

[ASK] Akses selector di JQuery
 
agan-agan ane mw nanya



gmana caranya biar bisa akses selector di jQuery?



ini kode ane


PHP Code:




(function($){



$.
fn.timePicker = {



init : function(){

//pengen akses ini?

$(this).after("Tidak bisa dieksekusi");

}

}



$.
fn.extend({

timepicker : function(options) {

$(
this).after("Bisa dieksekusi");

$(
this).timePicker.init();

}

});

})(
jQuery);







ane pengen akses kode didalam fungsi "init"

makasih agan-agan yang baik :ganteng:

</div>


All times are GMT +7. The time now is 02:26 AM.