This script works for me if I load
www.google.com and execute it within
Firebug Command Editor (within the Console panel)


for (var i = 0; i < 10; i++) {
   var http = new XMLHttpRequest();
   var params = 'uid='+i;
   http.open('POST','http://www.google.cz', true);
   http.setRequestHeader('Content-type',
'application/x-www-form-urlencoded; charset=UTF-8');
   http.setRequestHeader('Content-length', params.length);
   http.send(params);
}

>From your script:
- Check out your URL
- Make sure |elements| variable is defined


Honza

-- 
You received this message because you are subscribed to the Google
Groups "Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
https://groups.google.com/forum/#!forum/firebug

Reply via email to