jquery manipulate a tags with .css()
- by jesse
I need to change the font color of a div with the id name "nav" to white.
I did:
$("#nav").css("color","white");
This works for all the text that isn't wrapped in < a tags but I need those changed too.
I tried adding:
$("a").css("color","white");
But that doesn't work. I also tried:
var changeAColor = document.getElementsByTagName("a")
$(changeAColor).css("color","white");
Any ideas appreciated.