One thing I don't understand about your script, is the lack of an
extension in "/ajax/emailcheck"
Are you using an url rewrite or is some other technique involved? Seems
kind of silly to use a rewrite just for the mailcheck, but perhaps one
rewrite applies to all "/ajax/.*"
jsuggs wrote:
look at the jQuery validation plugin.. its pretty slick.
On May 22, 4:06 am, gladrinkz wrote:
> is ant one know how can i set email validation in jquery i am
> using .net
The way I do it is to just send the email via ajax to a validation
script that returns back an xml response.
$("#signup-form #email").blur(function() {
$.get("/ajax/emailcheck", { email: $("#email").val() },
function (xml) {
if ($('status',xml).text() == 1) {
// Available and valid
3 matches
Mail list logo