What are some of your favorite Snippets of code? One of mine is...
---------------------------------------------------------------------------- -------------- ONKEYPRESS="if ((event.keyCode < 48) || (event.keyCode > 57)) event.returnValue = false;" ---------------------------------------------------------------------------- -------------- When used like below only Number chars can be typed in that Form Field. ---------------------------------------------------------------------------- -------------- <input type="text" name="test" ONKEYPRESS="if ((event.keyCode < 48) || (event.keyCode > 57)) event.returnValue = false;"> ---------------------------------------------------------------------------- -------------- ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Archives: http://www.mail-archive.com/cf-community@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists