jQuery UI: How to change the color of a ProgressBar?

前端 未结 5 677
感情败类
感情败类 2020-11-29 02:27

I\'ve set up a simple jQueryUI progressbar:



        
5条回答
  •  广开言路
    2020-11-29 03:00

    Use the following code:

    $( "#nahilaga" ).progressbar({
         value: 20,
         create: function(event, ui) {$(this).find('.ui-widget-header').css({'background-color':'red'})}
       });
    

提交回复
热议问题