From fdd77d9148b1ec8c63cc47706149a1e5bcf14d5f Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Tue, 18 Jan 2011 20:54:07 -0800 Subject: meh --- newuser.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/newuser.html b/newuser.html index 75ee858..c531bcf 100644 --- a/newuser.html +++ b/newuser.html @@ -8,11 +8,9 @@ $("#pass2-row").show(); - $("#username").change(function( obj ){ + $("#username").change(function(){ - alert( "v = " + $("#username").val() + "\no = " + obj.val() ); - - $.post( "https://secure.dev.piny.be/piny-validate", { t: "Username", v: obj.val() }, function( res, stat, req ){ + $.post( "https://secure.dev.piny.be/piny-validate", { t: "Username", v: this.val() }, function( res, stat, req ){ alert( "res = " + res + "\nstat = " + stat + "\nreq = " + req + "\nreq.responseText = " + req.responseText ); if ( res ) { if ( res.ok ) { -- cgit v1.2.3