> From: Asim Manzur [mailto:[EMAIL PROTECTED]
> I have form with TextArea  and _javascript_, which doesn't
> allow user to hit enter key and "|".
>
> The below code is working fine, but if user cut/paster from
> word or notepad then textbox accept the enter key and pipe.
>
> Can someone advise anyway to prevent that??

You handle the keyCode event but not the change (onChange) event which
you need to check also to ensure that a copy past fires off the routine
needed to validate the entry into the box.

Michael T. Tangorre
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to