Hi skar, qx.ui.embed.Html is the weapon of choice if you want to insert plain HTML into your application. But it won't solve your problem as any Javascript within the HTML won't be evaluated. Generally speaking, it's preferable to keep all the Javascript code within your qooxdoo application. Maybe your server could just put a "placeholder" in the HTML which you could analyze in your frontend app and then call the corresponding method?
If you could give some more details of what you want to achieve, perhaps we can find a better solution. Regards, Daniel skar schrieb: > Hi, > > I want to be able to add a <div> DOM element received from the server > when the user clicks on a button. I'm able to get it as the content in > an ajax call. But how do I set it to be the content of a window? > > Also, the div could have both static HTML content or sometimes js > scripts with HTML too. Will the script be loaded/executed when the div > is set to the window? > > cheers, > skar. > ------------------------------------------------------------------------------ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
