Adicionar botão jQuery de evento OnClick
$("#insertTagHere").click(myFunction);
//insertTagHere is button, myFunction is function to be executed
Foolish Flamingo
$("#insertTagHere").click(myFunction);
//insertTagHere is button, myFunction is function to be executed