Catching "

Results 1 to 2 of 2

Thread: Catching "

  1. #1
    Join Date
    Dec 1969

    Default Catching "

    Hi Folks,<BR> I have users entering report titles but I don&#039;t want them to enter " as part of the title. I&#039;ve tried catching it with:<BR><BR> window.event.keycode = 34.<BR><BR>but it won&#039;t catch it. If I do a response.write I get keycode = 50. So wehn i&#039;m pressing shift and 2 for " i am still getting 50 which is the code for 2. Any help is much appreciated.<BR><BR>Cheers,<BR><BR>Neil.

  2. #2
    Join Date
    Dec 1969

    Default RE: Catching

    I think there&#039;s a "modifiers" something.. Yeah, here we go:<BR><BR><BR><BR>From this:<BR><BR><BR>To be sure, you&#039;re better off also checking this server-side too.<BR><BR>Craig.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts