in

Putting Javascript in a Wordpress file (not a post) in the Body (not the head)

I need to put javascript in the body of a Wordpress page.  It's not a blog or a post, but a  page.

As you know, apparently by default, Wordpress adds // to the javascript which prevents it from working (apparently for security reasons.)

It's for a "Thank you" page that needs the javascript in the body, and not int he head of the page.

Any suggestions?

Thanks

Rowby

 
Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
9:


Open in New Window Select All

Solution: Putting Javascript in a Wordpress file (not a post) in the Body (not the head)

it will add when you do this via the wp-admin, if the thankyou page is your custom page, you can add it via any FTP tool. otherwise do this.

1. copy the js code to a include file
2. copy the inculde file to you thank you page.

you can see steps here

http://www.webreference.com/programming/javascript/external/