Hi,
qooxdoo has an own query-API which is equivalent to jQuery in most cases.
Simply replace ‚$‘ with ‚q‘ or ‚qxWeb‘:
qxWeb('.CodeMirror')[0].CodeMirror;
This should do the trick!
Best regards
Andreas
Am 10.03.2015 um 12:02 schrieb bober1...@gmx.de<mailto:bober1...@gmx.de>:
Hi,
in my Desktop-App, I would like to get an Instance of an Object for an
CodeMirror Object that is created in an qx.ui.embed.Html("...").
In the JavaScript Console I can access the Object by using JQuerry:
var editor = $('.CodeMirror')[0].CodeMirror;
Then I can edit the code in the editor by using
editor.setValie("1+2");
How is this possible within a qooxdoo Deksop application?
I was thinking about using something like qx.bom.Collection.query or qx.dom....
but nothing seems to work.
Thanks for your help!
Regards,
Bober
------------------------------------------------------------------------------
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
qooxdoo-devel@lists.sourceforge.net<mailto:qooxdoo-devel@lists.sourceforge.net>
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
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel