Amit Mendapara schrieb:
> As your Ajax result is a TD, innerHTML wont work if you don't create
> whole TABLE with TBODY. You should do this:

ok. That's another problem.
What I want is a generic solution that works for all html elements 
without special cases (like this) in Javascript.

> 
> MochiKit.Query('#thisisatd').replaceWith('<td id="thisisatd"
> colspan="3">A new text</td>');

That looks exactly like what I am looking for. Cool!
Thank's. Looking forward to your realease!

--
Gregor

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to