summaryrefslogtreecommitdiff
path: root/newuser.html
diff options
context:
space:
mode:
authorJulian Blake Kongslie <jblake@omgwallhack.org>2011-01-18 20:53:02 -0800
committerJulian Blake Kongslie <jblake@omgwallhack.org>2011-01-18 20:53:02 -0800
commit1b16c3b8da0efd768b9f9ab91406873229452de7 (patch)
tree91efb0aced0fc9830411521083fd328a7b22b443 /newuser.html
parent8b7c781584d5df470ee456c853cc15d7687a995c (diff)
downloadhosting-1b16c3b8da0efd768b9f9ab91406873229452de7.tar.gz
hosting-1b16c3b8da0efd768b9f9ab91406873229452de7.zip
eh
Diffstat (limited to 'newuser.html')
-rw-r--r--newuser.html4
1 files 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 ) {