View Single Post
Old 01-30-2012, 02:38 PM   PM User | #17
jackvan
New Coder

 
Join Date: Jan 2012
Posts: 24
Thanks: 1
Thanked 1 Time in 1 Post
jackvan is an unknown quantity at this point
I've just tested my script with your solutions:

url:"/cgi-bin/isaccount.cgi?username=" + encodeURIComponent(name.val()),

or

url:"/cgi-bin/isaccount.cgi",
data : {username: name.val()},

They don't work:

1) url:"/cgi-bin/isaccount.cgi?username=" + encodeURIComponent(name.val()),

I entered: abcd in the name field of the Form,

My Perl script, isaccount.cgi received two data: name.val() and usernameabcd immediately one after another??


2) url:"/cgi-bin/isaccount.cgi",
data : {username: name.val()},

It did not send any data to isaccount.cgi and it also seems like it did not get into the success:function(data){ loop, i.e. it is not success.

Any idea to fix it?
jackvan is offline   Reply With Quote