I am using Javascript to disable backspace key. It works fine. The only
problem is that I need to have the backspace key functional for only one
field on my form.

Here is the current script I am using:
-----------------------------------------------------
<script>
function checkShortcut()
{
if(event.keyCode==8 || event.keyCode==13)
{
return false;
}
}
</script>

-----------------------------------------------------

How can I modify this script to include backspace for my one textbox?


Thanks in advance!!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
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

Reply via email to