3 try to call a function of the javascript by clicking on a button in the browser

preview_player
Показать описание
I am trying to use an HTML button to call a JavaScript function.

Here's the code: make sure you use the braces for starting and closing

input type="button" value="Capacity Chart" onclick="CapacityChart();"
It doesn't seem to work correctly though. Is there a better way to do this?

Рекомендации по теме
visit shbcf.ru