cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Freek Segers <freek.seg...@nerocmediaware.nl>
Subject Re: Ajax client library handling script tags
Date Mon, 19 Dec 2005 20:52:34 GMT
Thanks for the quick response.
I already made a fix so I could keep working. Do you want we to  
submit this somewhere?

Freek

On 19-dec-2005, at 13:38, Sylvain Wallez wrote:

> Freek Segers wrote:
>> Hi,
>>
>> I'm having a problem with the way Ajax handles script tags in the  
>> browser update XML.
>> The way it is implemented in Cocoon 2.1.8 the scripts are  
>> evaluated before the HTML elements are replaced.
>> Because my script calls document.getElementById() my script acts  
>> on the old element, that is replaced later on.
>> Wouldn't it be better to evaluate the scripts after the element  
>> has been replaced?
>
> Yep. You're right. I'll change this.
>
> Sylvain
>
> -- 
> Sylvain Wallez                        Anyware Technologies
> http://bluxte.net                     http://www.anyware-tech.com
> Apache Software Foundation Member     Research & Technology Director


Mime
View raw message