problem with nsIXMLHttpRequest.send

H

harishdixit1

Hello friends i m calling a javascript function from toolbar on the web
page .

but on statement xmlHTTPReq.send( data );

exception occurs. execption is

"Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED)
[nsIXMLHttpRequest.send]" nsresult: "0xc1f30001
(NS_ERROR_NOT_INITIALIZED)"

i don't know why it is coming.
While same statement is executing fine from page....

if someone has knowledge about it then plz reply..

Thanks in advancde...

%Harish%
 
M

Martin Honnen

Hello friends i m calling a javascript function from toolbar on the web
page .

but on statement xmlHTTPReq.send( data );

exception occurs. execption is

"Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED)
[nsIXMLHttpRequest.send]" nsresult: "0xc1f30001
(NS_ERROR_NOT_INITIALIZED)"

i don't know why it is coming.

Have you called the open method before that call to the send method?
 
R

rptodd

I'm receiving the same error message and I am definitely opening the
request first.

request.open("POST",url,true);

Anyone have any ideas?

Hello friends i m calling a javascript function from toolbar on the web
page .
but on statement xmlHTTPReq.send( data );
exception occurs. execption is
"Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED)
[nsIXMLHttpRequest.send]" nsresult: "0xc1f30001
(NS_ERROR_NOT_INITIALIZED)"
i don't know why it is coming.Have you called the open method before that call to the send method?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top