Hi, I want to do the following: function CheckCurrentDataStream(){ window.setTimeout ("CheckCurrentDataStream()", 20000); $("#statuscss").replaceWith('<link rel="stylesheet" href="http:// localhost:8080/statuschangealert.php" type="text/css" />'); }
The css I'm getting either is empty or it has a style in it changing the color of a certain link to let people know that there is waiting data for them to get. The thing is when I replace the stylesheet my new styles do not register. Is there a method to force the styles to be evaluated, or should I instead use script insertion instead of css insertion?