Hi,
I have a div with id="HourCapsule_7h00" created at the beginning of $(document).ready. At the end of $(document).ready I have to change the background of HourCapsule_7h00 so I do
$("#HourCapsule_7h00").css('background', 'MyNewColor');
It doesn't change because $("#HourCapsule_7h00").length = 0 which means it doesn't find this element however when I inspect the page with F12 I clearly see the element is there and the name is right.
Is there something I don't know ?