Hi
I had a similar task - I had to retrieve an element from remote page,
and some blogs said it is possible with just $("#div1").load("http://
www.somesite.com/somepage.aspx"); see here
http://frinity.blogspot.com/2008/06/load-remote-content-into-div-element.html
but it works only in IE and it hangs. In firefox it throws your error
So what I did - I wrote a page method in C# and I called it and I
retrieved the whole page with webrequest and parsed it in c# and then
I return it to ajax call and then $("#div1").load("some html
content");
if you need the code - tell me
good luck
On Nov 1, 5:55 am, kiran <[EMAIL PROTECTED]> wrote:
> Hi i am trying to post the data back to a server with the following
> data element ...... but not able to post it and getting an error
>
> data1 =
> {"id":"1008","country":"us","language":"en","username":"k","password":"k"};
>
> var options1 = {
> type: 'POST',
> url: "http://www.bluebam.xxx.com/dn?",
> contentType: "application/x-www-form-urlencoded",
> type:"jsonp",
> data : data1,
> processData: false,
> success: function (dat){alert(dat)},
> accepts: {json: "application/json, text/javascript"}
> };
>
> jQuery.ajax(options1);
>
> }
>
> error :
>
> uncaught exception: Access to restricted URI denied
> (NS_ERROR_DOM_BAD_URI)
>
> Did i miss any thing , i have to post it only as it has password
> info .
>
> any sugenstions ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery Development" 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
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---