Search Update Ajax Loader - How To Change?

Stay.com has developed in Yii framework.

So, please open:

And try to filter something. You will see how cool "Loader" looks. How to you create like that?

I have this:


$('.button').click(function(){  


    $.fn.yiiListView.update('list', { 

         data: $('#form').serialize(), 

    });   


    return false;

});

Thanks.

All the best.


$('.button').click(function(){ 

$.ajax(

{

url:"getdata.php",

dataType:"JSON",

beforeSend:function()

{

$("#update_block").show();

},

success:function(responce)

{

$("#update_block").hide();

/*show resived data*/

},

});});