I have some HTML that is dynamically generated by another component. A simplified version could be:
<div class="classA">
<div class="classB">Hello!</div>
</div>
The classB element isn't available at (document).ready, but when it's created it's created with some inline CSS which I want to change. Since the element isn't available at (document).ready, I can't just do
$('.classB').css('color', 'red');
and since the element is created with some inline css, I can't use an ordinary style sheet.
Question:
How do I apply CSS with jQuery to an element which isn't available at (document).ready?