If I understand correctly, to programmatically trigger a jQuery click event attached to an object with a css class of my-button, you should be able to just do t
my-button
Go back to the dom and do it with:
$("abutton")[0].click();