Side navigation
#9019 closed bug (invalid)
Opened April 29, 2011 04:31PM UTC
Closed April 29, 2011 06:59PM UTC
Last modified April 29, 2011 09:16PM UTC
IE8: creating attribute class throws error
Reported by: | drublic | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | attributes | Version: | 1.5.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
In IE8 I get an error while creating an element like this:
$( '<div />', { class : "bar" }).appendTo('#foo');
This might have something to do with the 'class' attribute that is illegal to use.
Here is a testcase: http://jsfiddle.net/drublic/fSxdm/
Hopefully this helps :)
wrap "class" in quotes.