summaryrefslogtreecommitdiff
path: root/newuser.html
diff options
context:
space:
mode:
Diffstat (limited to 'newuser.html')
-rw-r--r--newuser.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/newuser.html b/newuser.html
index c6443a0..966c767 100644
--- a/newuser.html
+++ b/newuser.html
@@ -8,9 +8,9 @@
$("#pass2-row").show();
- $("#username").change(function( obj ){
+ $("#username").change(function(){
- $.post( "https://secure.dev.piny.be/piny-validate", { "t": "Username", "v": obj.value }, function( res, stat, req ){
+ $.post( "https://secure.dev.piny.be/piny-validate", { 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 ) {