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