How where you trying to get the data out? There are same domain restrictions
that apply, I cannot recall off hand exactly what they are. You can try
something like have the internal frame execute a function on the outer frame
upon completion. Not sure if this will work and haven't the time to do a
test

On Fri, Nov 7, 2008 at 12:30 PM, kiran kumar reddy <[EMAIL PROTECTED]>wrote:

> We tried the iframe work around and were able to submit the data .... once
> we submit the data and got the response back , we are not able to get the
> data what is there in the iframe. it throws out an Error "permission
> denied". we are generating the request dynamically not a static script tag
> tht exposes that flaw.
>
>
> On Fri, Nov 7, 2008 at 4:55 PM, Morgan Allen <[EMAIL PROTECTED]>wrote:
>
>> You could do something like an invisible iframe form POST. But is a script
>> tag with a password in the src really any less secure then a normal AJAX
>> request? With jQuerys JSONP the script tag is removed right after the
>> callback is completed.
>>
>>
>> On Fri, Nov 7, 2008 at 12:05 PM, kiran kumar reddy <[EMAIL PROTECTED]>wrote:
>>
>>> Any other works around to post the data back with out actually submitting
>>> it ? we should not show the password in the GET request.
>>>
>>> On Fri, Nov 7, 2008 at 4:31 PM, Morgan Allen <[EMAIL PROTECTED]>wrote:
>>>
>>>> JSONP cannot work with POSTing data. Because JSONP uses a script tag to
>>>> get remote data, all you 'POST' params have to become URL request params.
>>>> With this you need to make sure that the script on the other end (/dn?)
>>>> honors the jsonp param and wraps the results in that command. Check out the
>>>> following page on Remy Sharps blog for a really basic intro to JSONP if you
>>>> need it.
>>>> http://remysharp.com/2007/10/08/what-is-jsonp/
>>>>
>>>>
>>>> On Fri, Nov 7, 2008 at 11:55 AM, kiran kumar reddy <[EMAIL 
>>>> PROTECTED]>wrote:
>>>>
>>>>> The local server side is not in our control , we are adding the JS only
>>>>> to those site ... any alternative ?
>>>>>
>>>>>
>>>>> On Fri, Nov 7, 2008 at 5:55 AM, Wai Yi <[EMAIL PROTECTED]> wrote:
>>>>>
>>>>>>
>>>>>> I think CrossDomain is not allowed in your browser ( and certainly all
>>>>>> other correct configured browsers like FF/Moz).
>>>>>> I happened to me to, a workaround to this is creating a local server
>>>>>> side script to process your input and send that to the server you
>>>>>> intended to send your data in the first way.
>>>>>>
>>>>>> On 31 okt, 22:55, 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 ?
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> http://morglog.alleycatracing.com
>>>> Lets make up more accronyms!
>>>>
>>>> http://www.alleycatracing.com
>>>> LTABOTIIOFR! ROFL! ROFL! ROFL!
>>>> Upcoming alley cats, reviews, touring logs, and a general congregation
>>>> of bike nerdity.
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>> --
>> http://morglog.alleycatracing.com
>> Lets make up more accronyms!
>>
>> http://www.alleycatracing.com
>> LTABOTIIOFR! ROFL! ROFL! ROFL!
>> Upcoming alley cats, reviews, touring logs, and a general congregation of
>> bike nerdity.
>>
>>
>>
>
> >
>


-- 
http://morglog.alleycatracing.com
Lets make up more accronyms!

http://www.alleycatracing.com
LTABOTIIOFR! ROFL! ROFL! ROFL!
Upcoming alley cats, reviews, touring logs, and a general congregation of
bike nerdity.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to