summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Blake Kongslie <jblake@omgwallhack.org>2011-01-18 20:49:41 -0800
committerJulian Blake Kongslie <jblake@omgwallhack.org>2011-01-18 20:49:41 -0800
commitc7533250312edf6ef58feb0c3d1c14e641c00200 (patch)
tree5ef129e14e18b92dd86cf53dfbc8d75fd7aa0e8d
parent87523bf9ee9d035b3bf3abe6c4144609e1ac0bae (diff)
downloadhosting-c7533250312edf6ef58feb0c3d1c14e641c00200.tar.gz
hosting-c7533250312edf6ef58feb0c3d1c14e641c00200.zip
more debug
-rw-r--r--newuser.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/newuser.html b/newuser.html
index cd11c19..1a4fb42 100644
--- a/newuser.html
+++ b/newuser.html
@@ -8,9 +8,11 @@
$("#pass2-row").show();
- $("#username").change(function(){
+ $("#username").change(function( obj ){
- $.post( "https://secure.dev.piny.be/piny-validate", { t: "Username", v: $("#username").value }.serialize(), function( res, stat, req ){
+ alert( { t: "Username", v: $("#username").value, r: obj } );
+
+ $.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 ) {