diff options
-rw-r--r-- | newuser.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newuser.html b/newuser.html index 966c767..d4cf630 100644 --- a/newuser.html +++ b/newuser.html @@ -10,7 +10,7 @@ $("#username").change(function(){ - $.post( "https://secure.dev.piny.be/piny-validate", { t: "Username", v: $("#username").value }, function( res, stat, req ){ + $.post( "https://secure.dev.piny.be/piny-validate", $.serialize( { t: "Username", v: $("#username").value } ), function( res, stat, req ){ alert( "res = " + res + "\nstat = " + stat + "\nreq = " + req + "\nreq.responseText = " + req.responseText ); if ( res ) { if ( res.ok ) { |