php (35) javascript (31) phpjavascript (30) jquery (23) html (20) mysql (14) database (9) codeigniter (4) json (4) bar chart (2) calendar (2) column chart (2) framework (2) google maps (2) query (2) tables (2) url (2) dropdown (1)

Monday, March 12, 2018

Progress Bar Using HTML CSS and Jquery

progress bar is a graphical control element used to visualize the progression of an extended computer operation, such as a download, file transfer, or installation. Sometimes, the graphic is accompanied by a textual representation of the progress in a percent format. The concept can also be regarded to include "playback bars" in media players that keep track of the current location in the duration of a media file.

Here is the simple code showing a progress bar from 1 to 100.

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="//">
    <link rel="stylesheet" href="/resources/demos/style.css">
        .ui-progressbar {
            position: relative;
        .progress-label {
            position: absolute;
            left: 50%;
            top: 4px;
            font-weight: bold;
            text-shadow: 1px 1px 0 #fff;
        .ui-widget-header {
            border: 1px solid #a03232;
            background: green;
            color: #333333;
            font-weight: bold;
<script src=""></script>
    <script src=""></script>
        $( function() {
        var progressbar = $( "#progressbar" ),
          progressLabel = $( ".progress-label" );

            value: false,
          change: function() {
           progressLabel.text( progressbar.progressbar( "value" ) + "%" );
         complete: function() {
         progressLabel.text( "Complete!" );

      function progress() {
        var val = progressbar.progressbar( "value" ) || 0;

       progressbar.progressbar( "value", val + 2 );

      if ( val < 99 ) {
      setTimeout( progress, 80 );

   setTimeout( progress, 2000 );
   } );

<div id="progressbar"><div class="progress-label">Loading...</div></div>



  1. Thanks very nice share this concept is a good way to enhance the knowledge. Digital Signature Certificate

  2. I am very grateful you did share your knowledge here. It is an excellent post
    sharing this sort of educational posts.Digital Signature Certificate

  3. Web development is one of the easiest programming niches. even if you are so avid humanist that you work as a professional writer for a company like that presents the service that offers cheap essay writing cheap essay writing - you can get into the niche of web development and even start working in this niche.

  4. I really enjoyed reading your blog, you have lots of great content. Please visit here:
    Digital Signature Certificate in Delhi

  5. Learning the three main web development technologies is not as difficult as many people think. Studying some humanitarian subjects is no less difficult than studying the basic tools of a front-end developer. If we talk about acquiring the skills to write correctly with the help of some courses, individual lessons with a teacher, and self-learning using services such as academicexperts, for which academic experts work and which proposes services with academichelp prices, that are low - this initiative is not less risky than an initiative to start learning the three basic tools of a web developer.


More Posts