On Thu, Dec 2, 2010 at 1:25 PM, Anjib Mulepati wrote:

> But problem I am having is I can't tap the condition where email is
> invalid.
>
> $.post(
>        "validateEmail.do",
>        {sendValue: email},
>        function(returnValue){
>            addToTable(returnValue); //add email to table


"Tap it" in that function: isn't the returnValue either the email (if
successful) or nothing (if not)?

Although personally I'd still use JSON; easier.

Dave

Reply via email to