Why does this error, and how can I do it without erroring:
>>> LI(A('link'))
Error:
fileName http://mochikit.com/MochiKit/Base.js
lineNumber 185
message setting a property that has only a getter
name TypeError
stack ([object NodeList],[object NodeList])@http://mochikit.com/
MochiKit/Base.js:185 ([object HTMLLIElement],[object
HTMLAnchorElement])@http://mochikit.com/MochiKit/DOM.js:436 ("li",
[object HTMLAnchorElement])@http://mochikit.com/MochiKit/DOM.js:612
apply([object Window],[object Array])@:0 ([object
HTMLAnchorElement])@http://mochikit.com/MochiKit/Base.js:660
("LI(A('link'))")@http://mochikit.com/examples/interpreter/
interpreter.js:25 ("LI(A('link'))")@http://mochikit.com/examples/
interpreter/interpreter.js:25 ("LI(A('link'))")@http://mochikit.com/
examples/interpreter/interpreter.js:277 apply([object Object],[object
Object])@:0 ("LI(A('link'))")@http://mochikit.com/MochiKit/Base.js:660
()@http://mochikit.com/examples/interpreter/interpreter.js:270
apply([object Object],[object Object])@:0 ()@http://mochikit.com/
MochiKit/Base.js:660 ([object Object])@http://mochikit.com/examples/
interpreter/interpreter.js:59 apply([object Object],[object Object])@:
0 ([object Object])@http://mochikit.com/MochiKit/Base.js:660
apply([object HTMLFormElement],[object Array])@:0 ([object
Event])@http://mochikit.com/MochiKit/Signal.js:542 @:0
Regards
Matthew Sherborne
Flexinet Systems Ltd.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---