Tuesday

jquery events with example

Following example demonstrate how to use jQuery events:
To trigger event use this code :

 $document.trigger('Grid_CheckBox_Click',gridId,this); 

Grid_CheckBox_Click is the name of my event.

to Subscribe to event use this code:
 
$(document).bind('Grid_CheckBox_Click', function (e, elem) {
MyFunction(e);
});


No comments:

make ubuntu business casual

to make ubuntu business casual - make it black remove background: gsettings set org.gnome.desktop.background picture-options ...