On my old (non thesis) site i had a wordpress post with a simple form which used simple math functions from a script. I simply put
Thesis Theme and Javascript...why does this not work?
5
On my old (non thesis) site i had a wordpress post with a simple form which used simple math functions from a script.
I simply put
as first line in the posting, and then below the HTML with the form.
(The script is extremely simple, it just does a calculation based on values input in the form).
Now - this WORKS after i installed Thesis theme on the site, but as soon as i edit the code...or even if i copy the code and paste it in MS Expression WEB and want to test it locally it simply doesnt work anymore.
In other words..i cant edit/change the post without the JS breaking.
I am at a loss since i already tried everything, putting the script in the head, adding the script in the form field for the post in thesis "custom javascript"...i have no clue why the script stops working.
Any help would be appreciated.
I simply put
Code:
<p><script type="text/javascript" src="http://www. MYSITE.com/scripts/wwpscript.js"></script></p>
(The script is extremely simple, it just does a calculation based on values input in the form).
Now - this WORKS after i installed Thesis theme on the site, but as soon as i edit the code...or even if i copy the code and paste it in MS Expression WEB and want to test it locally it simply doesnt work anymore.
In other words..i cant edit/change the post without the JS breaking.
I am at a loss since i already tried everything, putting the script in the head, adding the script in the form field for the post in thesis "custom javascript"...i have no clue why the script stops working.
Any help would be appreciated.
- SteveJohnson
- GeorgR.
- [1] reply
- fergsi
- haymanpl
Next Topics on Trending Feed
-
5