call javascript function on link button click

 

 

 

 

32 thoughts on Simulate a button click via JavaScript. vamshi says: March 23, 2017 at 9:00 am.I want to call Mediabox from a button. This is the link Now just click link, It will execute JavaScripts myFunction which will show current date as per used above.14.05.2008 I m trying to call a button click to execute through javascript