cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Freek Segers <freek.seg...@nerocmediaware.nl>
Subject Ajax client library handling script tags
Date Mon, 19 Dec 2005 09:50:18 GMT
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?

Freek Segers


Mime
View raw message