From d7bad937517f9424a44bdfe58afd9d356a6d5b7f Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Tue, 18 Jan 2011 20:25:04 -0800 Subject: debugging --- newuser.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'newuser.html') diff --git a/newuser.html b/newuser.html index 7daa236..484c1ab 100644 --- a/newuser.html +++ b/newuser.html @@ -6,12 +6,12 @@ $(document).ready(function(){ - $("#pass2-row").css( "display", "block" ); + $("#pass2-row").show(); $("#username").change(function( obj ){ - $.post( "https://secure.dev.piny.be/piny-validate", { t: "Username", v: obj.value }, function( res ){ - alert( res ); + $.post( "https://secure.dev.piny.be/piny-validate", { t: "Username", v: obj.value }, function( res, stat, req ){ + alert( "res = " + res + "\nstat = " + stat + "\nreq = " + req ); if ( res ) { if ( res.ok ) { $("#username-error").removeClass( "error" ).html( "" ); -- cgit v1.2.3