Varun Nayudu wrote:
Eric Pascarello wrote:You are not sending up any form data to the server. The XMLHttpRequest object does not send up form fields like a normal form submission does.
Ajax 101
Eric
So what should the code be . I though with ajax you could send the field to the server . What should i do then?
I was able to rectify it .Thanks eric for the info
xmlHttp.open("GET","serv.do?username="+username.value,false);
now its working fine