summaryrefslogtreecommitdiff
path: root/newuser.html
diff options
context:
space:
mode:
Diffstat (limited to 'newuser.html')
-rw-r--r--newuser.html2
1 files changed, 1 insertions, 1 deletions
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 ) {