I was just trying to do the following in jQuery:
var newCanvas = $(\'\',{\'width\':100,\'height\':200,\'class\':\'radHuh\'}); $(body).append(n
I found that this worked the best:
$('')
You can also add id, class, or other attributes this way. Because it is not in the style="" attribute, it does not count as CSS and mess up your shapes.
id
class
style=""