Doh! Thanks. On Dec 5, 11:42 pm, Mike Taylor <runningtowardsnoth...@gmail.com> wrote: > You're probably getting the Exception 5 due to the "-" in the attribute > name, which is illegal. That said, there's no such thing as a > -moz/webkit-border-radius attribute--those are CSS properties, which when > paired with legal values can reside in the style attribute of an element, > e.g.: > > $('#broken').attr('style', '-moz-border-radius: 9000px'); > > But you should probably just look into using the .css() method. > > > > On Sat, Dec 5, 2009 at 8:04 AM, MKoistinen <mkoisti...@gmail.com> wrote: > > Greetings, > > > I'm using 1.3.2 and I've discovered that if I attempt this line: > > > $("#messagebox").attr("-moz-border-radius","8px").attr("-webkit- > > border-radius","8px"); > > > Bad things happen. Specifically, JS stops processing and the browser > > (Chrome in this case, but the 'crash' happens in all browsers I've > > tested.) reports: > > > Uncaught Error: INVALID_CHARACTER_ERR: DOM Exception 5 - > > jQuery-1.3.2.js (line: 1026) > > > Same thing occurs in the minified version (but on a different line, of > > course). > > > (I've tried searching this group, but it seems to fail (groups > > broken?), so apologies if this has been reported/covered already.) > > > -- > > > You received this message because you are subscribed to the Google Groups > > "jQuery Development" group. > > To post to this group, send email to jquery-...@googlegroups.com. > > To unsubscribe from this group, send email to > > jquery-dev+unsubscr...@googlegroups.com<jquery-dev%2bunsubscr...@googlegrou > > ps.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/jquery-dev?hl=en.
-- You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-...@googlegroups.com. To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en.