sophanith sophanith - 2 months ago 5x
Javascript Question

Mouse event doesn't trigger in jquery

The class ".folders" doesn't trigger any events. Actually, all the classes within ".data" class doesn't trigger the mouse events. I have tried with ".search" class and it worked fine.

enter image description here


Delegate your event if they are dynamically added

 //click event

else make sure you element are visible on the page and not overlapping with any existing divs