JavaScript – The easiest way to clean-up your JavaScript code
// July 28th, 2010 // No Comments » // JavaScript
You can use any desktop tool to clean-up and beautify that poorly formated JavaScript you got from a blog or web resource.
I my case I am working on a JavaScript based event calendar that displays a calendar and highlights the current date with the dates which have events associated with them.
I got this great event calendar thats totally based on JavaScript from this link and it was not formatted correctly. As I had to make a few adjustments to the code as for my needs, I needed it to be correctly formatted so I could work on it.
So here is how I cleaned that minimized code. Its probably the best and fastest way of doing it. I opened up this website http://jsbeautifier.org/ and pasted my javascript code that needed to be cleaned up for editing and just a click on Beautify and Voila, my code is clean and beautiful.
Don’t firget visiting back for another JavaScript tip tomorrow. Also if you found this tip useful, you may also find the follwing Tip useful too.



![Islamic Nasheeds videos on NasheedResource.com [Your Ultimate online resouce for videos related to Nasheeds. Searching Youtube, Metacafe, yahoo, google videos in a single click] on NasheedResource.com [Your Ultimate online resouce for videos related to Nasheeds. Searching Youtube, Metacafe, yahoo, google videos in a single click]](http://www.fahdmurtaza.com/myblog/wp-content/uploads/2008/03/wwwnahseedrescourcecom.png)



