If you need to eval JS code return by a AJAX call, you have to use update() prototype function, xxxx.innerHTML= won't do it
Seb
On Mar 13, 2007, at 6:54 AM, Lino Jan Telera wrote:

Could you post the entire tempwin declaration?
Jan

On 3/13/07, Mike Broadbear <[EMAIL PROTECTED]> wrote:
Actually, I take that back, the following is actually causing the repeated showEffect:

tempWin.getContent().update(divInnerHTML);


Is there a different way to do this?


From: [EMAIL PROTECTED]
To: [email protected]
Date: Mon, 12 Mar 2007 18:03:05 -0500
Subject: [Javawin] windows content refresh


Hi,

Do windows automatically refresh when their underlying content changes? I have windows getting their content from div elements on the page, and the window is re-executing the showEffect when the following line executes:

document.getElementById(

"company_list").innerHTML = companyData.responseText;



Connect to the next generation of MSN Messenger  Get it now!

Explore the seven wonders of the world Learn more!

_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com




--
Lino "Jan" Telera

Obey your master!
La verità nuoce solo agli incompetenti!
----------------------------------------------------
My home page: http://www.linoproject.net
My Google Group: http://groups.google.com/group/ajax-e-dom-italia/
My Blog: http://frontiereweb.blogspot.com/
My ICQ UIN      : 81834420
Jabber              : janosh(at)jabber.org
SKYPE              : linotelera
----------------------------------------------------
_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com

_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com

Reply via email to