Filtering quots

Results 1 to 2 of 2

Thread: Filtering quots

  1. #1
    Join Date
    Dec 1969

    Default Filtering quots

    Hello,<BR>I need in my ASP page quots to be filtered. Does somebody know how I do this? I tried a lot of stuff but it didn&#039t work.<BR>Please help me<BR><BR>Thanx<BR><BR>Bjorn

  2. #2
    Nick A. Costanza Guest

    Default RE: Filtering quots

    If you mean not allowing quote marks into your input text boxes, this should work. (the "textboxNoQuotes" would have to be changed to the name/id of your input text field).<BR><BR>&#060;Script Language="VBScript"&#062;<BR>&#060;!--<BR>Option Explicit<BR><BR>FUNCTION textboxNoQuotes_onKeypress()<BR> Dim chCharIn<BR><BR> chCharIn = Chr(Window.Event.Keycode)<BR><BR> If chCharIn = """" Or chCharIn = "&#039" Then<BR> Window.Event.Keycode = 0<BR> End If<BR>END FUNCTION<BR>--&#062;<BR>&#060;/Script&#062;<BR>

Posting Permissions

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