Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Arg apostrophe!!

Thread Tools

Arg apostrophe!!
Posts: n/a

In my form I have an email textfield. Whenever the user enters an email
address the form gets automatically submitted using JavaScript. However,
when a user enters in an email that contains an apostrophe eg:
Mc’Knight. I get a javascript error and the form never gets submitted.

Any javascript wizard can help me with this?

Thanks in advance,

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to pass a multiline arg to exec('some.exe arg')? n00m Python 5 05-05-2008 02:58 PM
Passing a list as an arg to a subroutine Mark Drummond Perl 2 03-09-2006 07:50 AM
Trouble with setTimeout(arg, arg) Javascript 7 11-12-2005 05:13 PM
Port "arg" is not constrained? cltsaig VHDL 2 10-12-2004 10:38 AM
passing arg to sub problem slash Perl 3 08-12-2003 05:00 PM