Category Archives: JavaScript

Pretty print JavaScript with Google Chrome

The built-in Developer Tools from Google Chrome allows formatting of an inline (minified) JavaScript code to a human readable format.Continue reading

Remove blank lines from a textarea using Prototype

Here is a Javascript function used to remove blank lines from a textarea…Continue reading

Remove spaces from an input field with JavaScript

This is a small snippet to remove the spaces from an input field using JavaScript. It can be useful when you want a value without spaces, or when you want to replace the spaces from the input field with other characters.Continue reading