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:

  1. jquery add class function (to add class span tag)
  2. jquery remove class function(to remove class scrollingnews marquee tag)
  3. 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'}); 

Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -