Hi,

that won't work because qx.Desktop applications will replace any
existing markup in the document's body. There are several different ways
you can include external markup in a qooxdoo application, e.g.
qx.ui.embed.Html or the Inline application type. If you could give us
some more information on your use case, we can probably help you find a
good solution.


Regards,
Daniel

On 27.02.2015 13:58, Bober wrote:
> Hi,
> 
> I need to access a the content of a DIV in the index.html document where my
> qooxdoo desktop application is started. It looks like this:
> 
> <!DOCTYPE html>
> <html>
> <head>
>   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
>   <meta name="viewport" content="width=device-width, initial-scale=1.0,
> maximum-scale=1.0, user-scalable=0" />
>   <title>custom</title>
>    
> </head>
> <body>  
>     
>     <div  style="display:none;" id="mycell"> important Content
> </div>
> </body>
> </html>
> 
> I now need something to do in my Aplication.js to access and edit the
> content of the div "mycell", even if it can not be seen.
> 
> How can I do this?
> I was thinking about using the q function like q("#mycell") or something,
> but thats not working within my Application.js
> 
> Thank you very much for your help
> 
> Regards,
> 
> Bober
> 
> 
> 
> --
> View this message in context: 
> http://qooxdoo.678.n2.nabble.com/Acces-HTML-DOM-in-Qooxdoo-Desktop-tp7586866.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the 
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to