From 50f4153f0bdc113ca47d11ffad0cad3e82fcae1f Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Tue, 18 Jan 2011 20:47:41 -0800 Subject: let's try explicit serialization --- newuser.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newuser.html b/newuser.html index 966c767..d4cf630 100644 --- a/newuser.html +++ b/newuser.html @@ -10,7 +10,7 @@ $("#username").change(function(){ - $.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", $.serialize( { 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 ) { -- cgit v1.2.3