summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--newuser.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/newuser.html b/newuser.html
index c531bcf..f6cf622 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: this.val() }, function( res, stat, req ){
+ $.post( "https://secure.dev.piny.be/piny-validate", { t: "Username", v: $("#username").val() }, function( res, stat, req ){
alert( "res = " + res + "\nstat = " + stat + "\nreq = " + req + "\nreq.responseText = " + req.responseText );
if ( res ) {
if ( res.ok ) {