Blair,
Thanks for the response.

I was trying to return a true or false with:

function(json) {
                                                eval("var args = " + json);
                                                if (args.success == "true"){
                                                  alert('true');
                                                 return true;
                                                }
                                                else
                                                {
                                                          alert('false');
                                                         return false;
                                                }
                                          }

but no luck, i also tried setting a variable outside the whole function and
then giving it a value in the same manner as above, and no luck there
either.
-- 
View this message in context: 
http://www.nabble.com/form-validation-w--simple-ajax-tf2554683.html#a7127115
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to