I resolved my problem using callback. I put the second load in the callback
function of first one. Thanks for your answer.

2009/12/4 Michel Belleville <michel.bellevi...@gmail.com>

> Well it depends ; most of the times you end up loading a big bit of data
> that should replace a specific portion of the screen (let the standard
> .load() behaviour do the heavy lifting for this one) plus a few tidbits like
> notifications and so on that are secondary (can be dealt with in the
> callback), so your code is just a little bit more expressive (the "main"
> purpose of the query is expressed first in the .load() mandatory parameters,
> then the "secondary" tidbits are placed later in the callback). Using .get()
> would also do the job, but would be slightly less readable later.
>
> Michel Belleville
>
>
> 2009/12/4 Richard D. Worth <rdwo...@gmail.com>
>
> I think you're better of with $.get and then doing the finding and loading
>> into both divs yourself.
>>
>> - Richard
>>
>>
>> On Fri, Dec 4, 2009 at 5:21 AM, NMarcu <marcu.nico...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>>   I need to update a div that contain a table, and another one that
>>> contain a drop down list, that is build depending on what is in one
>>> table from db(the first div depend on this also). It's possible to
>>> update the 2 divs with the same load, or need to use two load. I try
>>> this but not worked correct.
>>>
>>> Thanks.
>>>
>>
>>
>


-- 
All the best,

Nicolae MARCU

Reply via email to