• support[@]kurinchilion.com
  • +1 (888) 666-4252

JQuery: Showing a progress image while processing background task

Jun 11, 2009 - by kurinchilamp / UI, CSS / Post Comment
I thought to write a simple example to show a progress bar or a gif image showing a that a task is happening at the background using a jquery function. i) Include jquery script file in the header section and the following code in the head
<script language="javascript">
$(document).ready(function(){
    $('#progress').hide();
    $("#main a.bgdiv").click(function(){
        $("#progress").show("slow");
        $("body").load($(this).attr('href'));
        return false;
    });
});
</script>
(more…)
Continue Reading

TECHNOLOGY DEV STACK

Following are some of the technologies that we use to build and maintain solutions for our clients.