On May 16, 2006, at 2:39 PM, prla wrote:

>
> I was hopeful this would fix it - the problems are indeed similar but
> not identical - but it didn't. I'm now using the latest trunk and the
> problem persists: the input elements only get type="checkbox" and
> value="<value>" and no 'onclick' or 'name' attributes.
>
> Could this be related to something else?

I can't reproduce. Show me a full example that proves that it's broken.

MochiKit v1.4 [IE 6.0]
Type your expression in the input box below and press return, or see  
the notes below for more information.

 >>> elem = INPUT({'type':'checkbox', 'name':'itemCheckbox',  
'value':'foo', 'onclick':'alert("hi");'})
[object]
 >>> elem.onclick
function anonymous() {alert("hi");}
 >>> elem.name
"itemCheckbox"
 >>> elem.value
"foo"
 >>> elem.type
"checkbox"
 >>> elem.outerHTML
"<INPUT type=checkbox value=foo name=itemCheckbox>"

You probably should be using MochiKit.Signal instead of setting  
onclick like that though. Or at least specify a function reference  
instead of a string.

-bob


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