You are here

Using jQuery to trigger html onclick event

$("#test_default")[0].onclick();
code type: 
Taken from: 
https://stackoverflow.com/questions/4624670/using-jquery-to-trigger-html-onclick-event