How do we execute progressbar in jquery?

 Posted by Vivek.Ramapuram on 9/6/2014 | Category: jQuery Interview questions | Views: 1933 | Points: 40
Answer:

By giving the code called
$( "#processbar" ).progressbar({

value: false
});

this should be written in script tags
we should mentioned the div name as we have given in the class
<div id="processbar"></div>


For example:
This is the link of the jquery version
 <link rel="stylesheet" href="//code.jquery.com/ui/1.11.1/themes/smoothness/jquery-ui.css"/>


This should be written in body tags

 <script src="//code.jquery.com/jquery-1.10.2.js"></script>

<script src="//code.jquery.com/ui/1.11.1/jquery-ui.js"></script>



<div id="processbar"></div>
<script>




$("#processbar").progressbar({
value: false
});
</script>


Asked In: While Learning | Alert Moderator 

Comments or Responses

Login to post response