A little correction. The URL in the script should have been
'http://www.google.com'

Honza

On Oct 23, 1:35 pm, Jan Honza Odvarko <[email protected]> wrote:
> This script works for me if I loadwww.google.comand 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