what do you mean that the data isn't sent to the server? It injects a script
tag with a url into the header; I can't see how that wouldn't work.

Can you post a mooshell with an example?

On Tue, Jan 5, 2010 at 1:06 AM, Joshua Partogi <[email protected]>wrote:

> The data is not sent to the server. Anyway, I switched to other
> library instead because JSONP does not inherit Request.JSON because I
> need some of the methods from Request.JSON
>
> Regards
>
> On Jan 4, 3:25 pm, Aaron Newton <[email protected]> wrote:
> > in what way does it fail?
> >
> > On Sun, Jan 3, 2010 at 7:16 PM, Joshua Partogi <[email protected]
> >wrote:
> >
> > > Dear all,
> >
> > > I'm trying to send JSON request with Mootools JSONP on IE &, but
> > > unfortunately it did not succeed to send the request.  I have tested
> > > on Firefox and it works but not on IE.
> >
> > > Here is the script for sending the JSON request looks like:
> > > window.addEvent('domready', function(){
> >
> > >              var request = new Request.JSONP({
> > >                  url: 'http://localhost:28080/test',
> > >                  data: {
> > >                    'username':'john'
> > >                  }
> > >              });
> >
> > >              request.send();
> >
> > >          });
>
> --
> http://jobs.scrum8.com | http://twitter.com/scrum8
>

Reply via email to