I am trying using .on() with hoverpulse plugin for applying it to dynamically loaded contents but not getting a way out. It will be very kind if someone can help. Thanks in advance.
JQUERY CODE TO CALL HOVERPULSE FUNCTION
$(selector).hoverpulse({
size: 40, // number of pixels to pulse element (in each direction)
speed: 400 // speed of the animation
})
HOVERPULSE FUNCTION
$.fn.hoverpulse = function(options) { CODE GOES HERE}
The on
syntax is for event binding/handling. Not for plugins..