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?
Here is the link:http://projectpath.ideapeoplesite.com... click on the capacity tab in the bottom left section. The button should generate an alert if the values are not changed and should produce a chart if you enter values