On Dec 6, 2005, at 1:48 PM, Rune Hansen wrote:

Working with MochiKit is fun. Working with IE on the other hand..

I have, for the time being, hit a show stopper (for this particular application anyway):
Using this code:
     return TABLE({'class':'grid','id':'swaptable'},
THEAD(null, TR(null, TD(null,'ID'),TD(null,'NAME'),TD (null,'ACTIVE'))),
        TFOOT(null, TR(null, TD())),
        TBODY(null, map(table_row, rows))
         );
I'm swapping DOMs to my hearts content - that is, when using Firefox/Safari and so on. (I'm calling methods to update data in database and I need to reload and swap the DOM for each update)
With IE I get the DOM once. And once more after I restart the browser.

Does anyone know of a way to force IE to call the method again?

You might just want to try having the table in the HTML, and doing replaceChildNodes("tbody_id", map(table_row, rows))

Anyway, you didn't show enough code to reproduce the problem... so it's kinda hard to say much else.

-bob

Reply via email to