Hi,

> One request is preempted on completion of other request.

Not by Prototype or the browser, it would be something else you're
doing on the page.

Again, I'd suggest coding up a small, self-contained example -- you'll
figure it out.

Good luck,
--
T.J. Crowder
tj / crowder software / com
Independent Software Engineer, consulting services available

On Jun 1, 2:10 pm, balki <[email protected]> wrote:
> Hi T.J. Crowder,
>
> Thanks for your immediate response.
>
> The two elements  advtResult and carRentalResult are not
> interconnected.
>
> Did not get error.
>
> One request is preempted on completion of other request.
>
> Thanks
>
> On Jun 1, 5:51 pm, "T.J. Crowder" <[email protected]> wrote:
>
> > Hi,
>
> > Are the advtResult and carRentalResult elements connected in any way?
> > For instance, is one of them a descendant of the other?  If so, you'll
> > have a race condition.
>
> > Do you get an errors?  Have you tried any debuggers (like Firebug[1])?
>
> > One thing that may help is to create a small-but-complete example of
> > the problem.  Two reasons for this:  1. I'd say at least 90% of the
> > time, in the process of doing that you figure out what the problem is;
> > and 2. If you don't figure it out, then you can post your small-but-
> > complete example to Pastie[2] and folks here can help you figure out
> > what's going on.
>
> > [1]http://getfirebug.com
> > [2]http://pastie.org
>
> > HTH,
> > --
> > T.J. Crowder
> > tj / crowder software / com
> > Independent Software Engineer, consulting services available
>
> > On Jun 1, 10:58 am, balki <[email protected]> wrote:
>
> > > Hi,
>
> > > Calling two ajax request and rendering the values of both request  in
> > > the  same  page.
>
> > > One request takes more time.
>
> > > The result page is rendered  only with  one ajax request. Values of
> > > the request taking more time is not rendered.
>
> > > But the same code works in IE7.
>
> > > Code:
> > > var myAjax = new Ajax.Updater(
> > >                                         {success: 'advtResult'},
> > >                                         advtResultUrl,
> > >                                         {
> > >                                                 method: 'get',
> > >                                                 parameters: 
> > > advtParameters,
> > >                                                 onFailure: reportError,
> > >                                                 asynchronus: true
> > >                                         } );
> > > var myAjax1 = new Ajax.Updater(
> > >                                         {success: 'carRentalResult'},
> > >                                         carRentalResultUrl,
> > >                                         {
> > >                                                 method: 'get',
> > >                                                 parameters: 
> > > carRentalParameters,
> > >                                                 onFailure: reportError,
> > >                                                 asynchronus: true
> > >                                         });
>
> > > Thanks & regards,
> > > T.D.Balakrishnan
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to