javascript and "@"

Results 1 to 3 of 3

Thread: javascript and "@"

  1. #1
    Join Date
    Dec 1969

    Default javascript and "@"

    How can I search for "@" in a string with javascript? I&#039ve tried both "Exists" and "indexOf", but neither of&#039em seems to work. Anytime I&#039ve got an "illegal character" error.<BR>What I have to do?<BR>I&#039m trying to search a string for "@" character.<BR>Thanks

  2. #2
    Join Date
    Dec 1969

    Default RE: javascript and

    Try escaping it: rather than seaching for @, searc for @

  3. #3
    lata Guest

    Default RE: javascript and

    indexof should be alright. please go to voodoo introduction to javascript site and look into form validation. you will get the exact code there.<BR>search for java script tutorials in and that takes you to voodoo&#039s site.<BR>lata

Posting Permissions

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