html code for a button
CODE
<button onclick="return addNode('Combo Hit')">Taijutsu Strike </button></br>
there is javascript thrown in there. return addNode()
i need to call a second function for instance.
CODE
<?php
function hit()
{
x-=10
echo x;
}
?>
QUESTION:
i've tried several ways of putting the php function in along side the javascript.
is there anyway to do this? i ask because i would have to totally rewrite my php functions into javascript and there are several pages of them :|