From 1b16c3b8da0efd768b9f9ab91406873229452de7 Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Tue, 18 Jan 2011 20:53:02 -0800 Subject: eh --- newuser.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/newuser.html b/newuser.html index 7a8128e..75ee858 100644 --- a/newuser.html +++ b/newuser.html @@ -10,9 +10,9 @@ $("#username").change(function( obj ){ - alert( "v = " + $("#username").value + "\no = " + obj ); + alert( "v = " + $("#username").val() + "\no = " + obj.val() ); - $.post( "https://secure.dev.piny.be/piny-validate", { t: "Username", v: $("#username").value }, function( res, stat, req ){ + $.post( "https://secure.dev.piny.be/piny-validate", { t: "Username", v: obj.val() }, function( res, stat, req ){ alert( "res = " + res + "\nstat = " + stat + "\nreq = " + req + "\nreq.responseText = " + req.responseText ); if ( res ) { if ( res.ok ) { -- cgit v1.2.3