Hi Shane
Thanks for providing the link, but I have tried to follow the Codex according to the page you showed above, but I must be missing something, as it still does not work and I have no idea why.
For example, in my page, I have the script to calculate Target Heart Rate. It has two inputs (height and weight) and when the button is clicked, it outputs the target heart rate. The following is the JS function when the users hits the button to calculate:
<input id=”Button1″ onclick=”calcIt()” name=”Button1″ type=”button” value=”Calculate” /></td>
I have then added the script which runs the calculator in a file called scripts.js in my theme folder and then added the appropriate code to the header file.
I just saw this other post – is this what I should do for my functions? http://wordpress.org/support/topic/248327?replies=3
Maybe I will try it…
If anyone could even direct me to something that would be good…
Thanks 🙂