Progress Bar

Hi all…

I am trying to get progressbar

following is my code in view:

$this->widget(‘zii.widgets.jui.CJuiProgressBar’, array(

			    'value'=>10,


			    // additional javascript options for the progress bar plugin


			    'options'=>array(


			        'change'=>'js:check_version()',


			    ),


			    'htmlOptions'=>array(


			        'style'=>'height:20px;'


			    ),


			));

following is my check_version() function:

<script type="text/javascript">

function check_version()

{

    i=0;


for(i=0;i&lt;100;i++)


	i++;


    if(i==100)


alert(&quot;UPDATE......&#33;&#33;&#33;&#33;&#33;&#33;&quot;);

}

</script>

I want a progressbar that progress untill the funtion is evaluated and alert message to be displayed. please help…

have you seen the new yii boostrap extension? i think it will help click here

Sorry for late reply…

Thanks, it works…