Loading ...
Sorry, an error occurred while loading the content.

Re: form validation question

Expand Messages
  • warriorprogrammer
    try if (strVal.indexOf( ) != -1) alert( has a double quote ) or if (strVal.indexOf( ) != -1) alert( has a double quote )
    Message 1 of 2 , Jun 28, 2002
    • 0 Attachment
      try
      if (strVal.indexOf("\"") != -1) alert("has a double quote")
      or
      if (strVal.indexOf('"') != -1) alert("has a double quote")

      --- In javascript3@y..., jad3blu3 <no_reply@y...> wrote:
      > Does anyone know of a function to check if there is a " mark in a
      > form field?
    Your message has been successfully submitted and would be delivered to recipients shortly.