I have a left tree. Its structure is like this
MainCategory
Category1
Subcategory1
Subcategory2
Category2
Subcategory3
Subcategory4
Subcategory5
Category3
.
.. etc like that
If user click any of the MainCategory/Category/Subcategory I need to disable/prevent repeated/multiple click on same link until the result come. How can I do that using jquery?
if you use jQuery 1.7 you can use the off() and on() functionality
example:
if you use an older version you could unbind() and bind() the event
example: