summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Blake Kongslie <jblake@omgwallhack.org>2011-01-18 20:47:41 -0800
committerJulian Blake Kongslie <jblake@omgwallhack.org>2011-01-18 20:47:41 -0800
commit50f4153f0bdc113ca47d11ffad0cad3e82fcae1f (patch)
tree5ba24d9db38d33eed04d2bbd21c1dc0ba76f13c4
parent5d735c5df7ed43764b974d0d90b1e618e969492d (diff)
downloadhosting-50f4153f0bdc113ca47d11ffad0cad3e82fcae1f.tar.gz
hosting-50f4153f0bdc113ca47d11ffad0cad3e82fcae1f.zip
let's try explicit serialization
-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 ) {