Skip to content

Namespacing events in jquery (via Kingshuk20’s Blog)

January 13, 2011

Events can be namespaced in jquery so that triggering and unbinding them can done in an easier manner.  Generally , if we bind an event handler to a specific event  , we would do it as under:- $(selector).bind("click", eventHandler); In this case , if we unbind the click event using $(selector).unbind("click"), the particular event would be unbound from all controls having the particular selector. However, if we use namespace while binding events … Read More

via Kingshuk20's Blog


From → jQuery

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: