On Thu, Dec 2, 2010 at 12:43 PM, Anjib Mulepati wrote: > Ok second also doesn't work. >
"It doesn't work" actually isn't descriptive enough to allow anybody to help effectively--you'd need to say what actually happens, what you *expect* to happen, what's in your JavaScript console, what the action is returning to the Ajax call (HTML? JSON? XML?), and details like that. Otherwise we're all just guessing, and that takes too long. > My page display email if valid and null if invalid. > We have no idea what you're doing with the returned data other than calling a JS function you don't show. *Where I am doing wrong? Step 1: What does the action return for success? For failure? Step 2: How do you determine in the JS if it's a success or failure? Dave