html - addClass, removeClass, css jquery functions does not work -
i found this page , need change font color black white.
i tried these ways did not work:
- jquery add class function (to add class span tag)
- jquery remove class function(to remove class scrollingnews marquee tag)
- jquery css function (to add css span tag)
code:
$(document).ready(function() { $('#tickerv span').addclass('test'); $('marquee').removeclass('scrollingnews') $('#tickerv span').css({color: white}); });
please can help?
thanks
try this
$('span').css({ 'color': 'red'});