March 24th, 2007, 03:38 PM
March 24th, 2007, 03:37 PM
A header is what tells a page how to read the data. The headers here tell the page that it is form data to process. If we gave it a header of Content-type: application/pdf, it would have thought the...
March 24th, 2007, 03:29 PM
You are missing my point. You are trying to pass var limit = document.getElementById('limit').value as your parameters. You need to make the parameters from your variable limit.
var limit =...
March 24th, 2007, 03:15 PM
The key isn't that part. The key is the parameters you are passing. Notice my variable isn't the name or id of an HTML element. It is a formatted string.
March 24th, 2007, 03:07 PM
Basically, you use send to pass a GET line.
var parameters = "limit=value&otheritem=itsvalue";
ajaxRequest.open('POST', url, true);
ajaxRequest.setRequestHeader("Content-type",...