I have a button with a onclick attribute which is pointing to the function test().
test()
Button 1 <
If you want to use Jquery, then you can call the $(this) object in the function.