I'm using jQuery CSS function to style some elements
$element.css(style);
This works, but a part of the elements are created dynamically after the page load. This should be
$element.live ('created',function() {
$(this).css(style);
});
I'm stuck on the created event. Any ideas?
There's no event for elements created (not universally available, anyway). You could
Chain the css() method when you create your elements:
Create a new stylesheet dynamically: