How to check whether the event namespace is used in jQuery ?
The jQuery is lightweight, and it has a lot of features like HTML/DOM manipulation, CSS manipulation, HTML event methods, effects and animations, AJAX, utilities. Many multinational companies like Google, IBM, and Microsoft use the jQuery library in their application.
The event.namespace property returns the custom namespace when the event was triggered. This property will be used primarily by plugin authors who want to handle tasks differently depending on the event namespace used.
Example: Below is the HTML code for determining the event namespace used.
Note: The namespace starting with an underscore are reserved for jQuery.