Trim Leading Spaces | JavaScriptSource

Trim Leading Spaces

JavaScriptSource Staff Sep 9, 2000
A super-easy script which eliminates any extra leading spaces entered inside a textbox. To check it out in action, try entering a few spaces before the text in the box.
Filename:

The JavaScript Source: Forms: Trim Leading Spaces

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!

    

Did you use this script?  Do you like this site?  Please link to us!

Leave a Response

(
0 comments)