Alexander Steitz wrote:
> 
> 
> --snip--
> var domCollection = qx.bom.Collection.create(this.getDocument());
> var td = domCollection.find("#myTD");
> td.replaceWith("new content");
> --snip--
> 
> Is this the method you searched for?
> 
> cheers,
>   Alex
> 
No, not really. With the snippet above, you would end up replacing the td
element itself.
If you initially have
..
<tr>
<td id="#myTD">old content></td>
</tr>

you would end up with
<tr>
new content
</tr>

I want something similar to the DOM-level "innerHtml", i.e. replacing the
_content_ of the TD element.

-- 
View this message in context: 
http://n2.nabble.com/qx-bom-Collection-replacing-content-in-TD-tp4924924p4929858.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to