Hello Kora

May be some code can help you to understand about qxWeb:

var _table = q.create('<table>');
for (var _i = 0; _i < 10; ++_i) {
  q.create('<tr>')
    .setAttribute('id', _i)
    .append(q.create('<td>').setStyle('width', '100px').setHtml(_i))
    .append(q.create('<td>').setStyle('width', '100px').setHtml(_i * _i))
    .appendTo(_table)
    .on('click', function (e) { alert('Row ID: ' + e.currentTarget.id); })
  ;
}
_table.appendTo('body');

This code create a table with 10 rows and if you click in any row, an
alert will popup.

You can see in action in http://jsfiddle.net/JdVsP/

Regards

Joaquin F.

2013/6/25 kora <[email protected]>:
> Hello,
>
> In one topc I read about qxWeb - It seems to be useful for embeded html ?
>
> http://qooxdoo.678.n2.nabble.com/removing-elements-by-given-ids-classes-td7582927.html
>
> There is no example code using that in the demo browser.
>
> Can anybody explain what qxWeb is good for ?
>
> Has anybody got an example ?
>
>
> Cheers
>
> Kora
>
>
>
> --
> View this message in context: 
> http://qooxdoo.678.n2.nabble.com/Is-qxWeb-useful-for-HTML-embeding-tp7583942.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to