Force client-side JavaScript event to fire programatically using jQuery

Earlier today I needed to force a clide side event to fire programatically using jQuery.

I found you can do this easily with the jQuery trigger method:

$("#myControl").trigger("change");

The above will trigger the change event of the control with ID ‘myControl’

Posted on by Joe in JavaScript, jQuery

Add a Comment