diff options
author | Julian Blake Kongslie <jblake@omgwallhack.org> | 2011-01-18 20:54:07 -0800 |
---|---|---|
committer | Julian Blake Kongslie <jblake@omgwallhack.org> | 2011-01-18 20:54:07 -0800 |
commit | fdd77d9148b1ec8c63cc47706149a1e5bcf14d5f (patch) | |
tree | 5e424b0cc7a601a9d9fa1bb0b9295aa06fef2c72 | |
parent | 1b16c3b8da0efd768b9f9ab91406873229452de7 (diff) | |
download | hosting-fdd77d9148b1ec8c63cc47706149a1e5bcf14d5f.tar.gz hosting-fdd77d9148b1ec8c63cc47706149a1e5bcf14d5f.zip |
meh
-rw-r--r-- | newuser.html | 6 |
1 files 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 ) { |