★ wanayoo — archive 1999 http://javascript.internet.com/forms/remove-returns.htmlNouvelle recherche | Portail wanayoo

Jobs.webdeveloper.com www.searchenginewatch.com


Home } Forms } Remove Returns



Converts carriage returns in a string to the
tag so that the input can be properly displayed in HTML. Without the script, returns in an input field are not preserved when submitting in a form. Useful for guestbooks or other times when a user's input must be preserved.

Output:

The JavaScript Source: Forms: Remove Returns

Simply click inside the window below, use your cursor to hilight 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!
LinuxStart.com

Sign up for the JavaScript Source's Newsletters!
Site Updates!
Monthly Digest
Your Email:
internet.com Privacy Policy


We'll send this script to you!

(just click "Send it!" once!)

[ Contact Us! ]
[ JavaScript Forum ]
[ Submit Your Script! ]

The JavaScript Source

Copyright 2000 Internet.com Corp.
All Rights Reserved. Legal Notices

Privacy Policy
Advertising Information