I am trying to use an HTML button to call a JavaScript function.
Here\'s the code:
I would say it would be better to add the javascript in an un-obtrusive manner...
if using jQuery you could do something like: