1. All DOM nodes have their own properties and types. Look it up in
the HTML DOM API over at W3C.
2. Variables not holding strings are normally converted to strings
with .toString().
/Per
On Fri, May 16, 2008 at 12:44 AM, Szaijan <[EMAIL PROTECTED]> wrote:
>
> Thanks for the pointer! Is that only the case for 'value', but not
> for 'checked'? And when I set the 'value' for other elements, should
> I be enclosing them in quotes like {'value': '"' + variable + '"'},
> even when the variable isn't holding a String value?
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---