Add semi-colons
;
to the end of the function calls in order for them both to work.
<input id="btn" type="button" value="click" onclick="pay(); cls();"/>
by Luka Tatarishvili
4 years ago
HTML
JavaScript
functions
0
Pro tip: use ```triple backticks around text``` to write in code fences