Hi,

In a web app I'm developing using bits of Mochikit, I have this table
which gets rendered on-the-fly upon the return of an Ajax call (in this
case, via loadJSONDoc). One column in each row of this table is a
checkbox, which I attempt to create the DOM for with:

TD(null, INPUT({'type':'checkbox', 'name':'itemCheckbox',
'onclick':'toggleBar()', 'value':item.id} ,null)), ...

(the item.id part is correct and comes from the Ajax call result set)

The problem is that, when I inspect the DOM, only the 'type' and
'value' attributes are actually set. Thus, the function that depends on
the checkboxes doesn't work any longer - because the 'name' attribute
is not set, the checkboxes don't have any handle. Other nodes I'm
creating also miss some attributes.

What puzzles me is that this works everywhere else, in every other
browser, except IE 6 (I haven't tried the beta versions of IE 7). Even
Firefox Win works just perfect.

I've searched the mailing list but found no one reporting this same
problem. I've tried upgrading to the latest Mochikit but to no avail.

Any ideas? Thanks very much in advance.

P.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to