With the jsonp option i'm able to do cross domain request but i can't
control the timeout and i'm wondering about why?

On 27 Gen, 12:22, Stefano Corallo <stefan...@gmail.com> wrote:
> yes ok but i've set the jsonp option to avoid this problem like
> explained in
>
> http://bob.pythonmac.org/archives/2005/12/05/remote-json-jsonp/
>
> that i've foundhttp://docs.jquery.com/Ajax/jQuery.ajax#options
>
> i'm wrong?
>
> On 27 Gen, 12:06, Mike Alsup <mal...@gmail.com> wrote:
>
> > > In this case the execution stop because the return statement and there
> > > is no way to setup the onreadystatefunction and other stuff coded down
> > > after the statement
>
> > > if ( s.dataType == "script" && type == "GET" && parts
> > >                         && ( parts[1] && parts[1] != location.protocol || 
> > > parts[2] !=
> > > location.host )){
>
> > > This in my case generate a non correct handling of the timeout lookup
> > > but maybe there are other problem i'm not able to see.
>
> > > Thank's for help and clarifications.
>
> > This is because ajax can not be used x-domain due to browser security.
>
> >http://docs.jquery.com/Ajax/jQuery.ajax#options

Reply via email to