How to use Javascript in a post
Let's not mince our words here... WordPress, and most other blogging platforms just don't like JavaScript. And, the truth is, if you can find a way of not using it then do so.
However, there are times when you have no option.
So what do you do?
There are a couple of options. The first is drop a text box widget into the sidebar and paste the code into there. This works fine, but isn't any good if you want to use JavaScript in the body of a post for a Captcha or Auto responder script etc.
I tried lots of plugins, which claim to allow the insertion of JaveScript into a post with varying degrees of success. The one I eventuly settled on is created by Volcano called Inline JavaScript
Once you have installed it here's how to use it: (NOTE - You need to remove the spaces in the brackets - I had to insert them to stop the plugin running!)
[ inline]
< the JavaScript you want to insert >
[ /inline]
If you would like to add any text after your JavaScript enter a line break code < br > followed by your text. eg.
[ inline]
< the JavaScript you want to insert >
[ /inline]
< br >
Your text.
It's simple and it works well. Here's what it looks like in action (and will subscribe you onto my updates list - which I thouroughly recommend
)

