How to run javascript in WordPress post?
Blogging about technical things is fun and satisfying experience when other people actually get benefit from your hard work with a problem or a good peace of information you get luckily. Conveying the solution in simple way is probably most important part of it and that makes difference for the reader of your post.
Examples are very effective way to convey your solution to some problem or useful piece of information. it become more usable if these are code examples
The best and most useful thing is to demonstrate your example to the the person who is interested in the solution so that he can be sure about it. Not all types of solutions can be demonstrated on website like this but few can be covered which includes examples of HTML, javascript and Flash.
If you are running a website on your hand-coded HTML pages, you can do these examples and their demos easily but some times it is not possible to include your javascript easily in your blog because of the blogging engine you are using. These problem generally occur because of the default formatting done but blogging engine.
When it tried to demonstrate few things in javascript on this website which is running on WordPress it also faced this issue. Being and evolved engine WordPress has many plugins to achieve this thing so I got it easily.
http://plugins.trac.wordpress.org/wiki/TextControl
Above link will let you use a plugin of WordPress, using which you can easily control formatting of your post and it will let you include and run script functions with in your post.
1. Download Text-Control.zip
2. Unzip and upload into wp-content/plugins/
3. Activate in the Plugins section of your admin panel
You can set the default formatting for your post and comments in settings section (Settings->Text Control Config)
You can also control the formatting of each post individually by setting it in bottom of the Write Post/Edit Post screen.

After using this plug-in, You will need to take care of rest of the formatting stuff of your post by your self using styles etc.
Most Commented Posts
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

[...] Must Have Plugins Legal Ethics Blog How to run javascript in WordPress post? Book Review: WordPress for Business Bloggers New Features in the Chitika | Premium WordPress [...]