I have the following:
<div>
<script type="text/javascript" src="someUrl"></script>
</div>
That script generates a div with some links inside of it so it's like:
<div>
<div>
<a href=""></a>
</div>
</div>
I need to style those links to be a certain color with jQuery because that's the way the page was developed.
Right now I have the following:
<script type="text/javascript">
$(document).ready(function () {
$("div a").css("color","#ffffff");
});
</script>
The only browser that changes the links to white is Firefox because, I believe, FF loads pages differently and is applying these styles after the script creates the div? How do I make this work across all browsers?