Hi, Don't start `id` values with digits, it's not valid in CSS[1] (and therefore not in CSS selectors, such as those used by `select` or `$ $`).
This is true of HTML4 as well[2], but HTML5 opens this up[3] such that an ID can be just about anything that doesn't have a space in it. [1] http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier [2] http://www.w3.org/TR/html401/types.html#type-id [3] http://www.w3.org/TR/html5/elements.html#concept-id HTH, -- T.J. Crowder Independent Software Engineer tj / crowder software / com www / crowder software / com On Apr 2, 9:53 pm, Joschi Cassel <[email protected]> wrote: > Hi all, > Having an odd element.select issue. I am using .select("input") on > a table row. If the ID of the row starts with a number ("01CA5BE1- > BA6C-45AB-B46B-C3F25ACF003A" is id value), .select(input) returns > error below. > > [Exception... "An invalid or illegal string was specified" code: "12" > nsresult: "0x8053000c (NS_ERROR_DOM_SYNTAX_ERR)" location: "http:// > localhost/a1_local/v3/js/prototype.js Line: 3301"] > > Any suggestions? > > Best regards, > Joschi -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en.
