How to make jQuery css affect upcoming elements

Is there a way to make jQuery (or any javascript) change the CSS scheme instead of just apply the style to the current elements matching the descriptor?Suppose I have this on my css \[code\].bla{ width: 200px;}\[/code\]. if I run \[code\]$('.bla').css('width', 300);\[/code\] then jQuery will only apply this to the existing elements.What I want is a way to make the new width be the rule also for new .bla elements. To make it so that, if I keep adding .bla elements, then they will be 300 width.Is there a way to do this?
 
Back
Top