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?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…