summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--newuser.html6
1 files changed, 3 insertions, 3 deletions
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( "" );