WebsiteBaker Support (2.8.x) > jQuery
Fill / Load data as per link
vikaspa:
Need vary small help here
i want to display animated gif 'Loading .." which will be displayed till div is loaded....
vikaspa:
Solved .. message to be displayed till data is loaded
$(document).ready(function(){
$(".activityclass").click(function () {
$('#mydiv').slideDown(1000);
$('#loadingDiv').show(); // div haveing message "Loading Data Please wait and Image loader.gif
var value = $(this).attr("id");
var prog='activity.php?id='+value;
$('#mydiv').load(prog);
$('#loadingDiv').hide(); // hide this div after loading
});
<div class="text" id="loadingDiv" style="position:absolute; display:none; height:30px; width:250px; margin-top:-100px; margin-left:100px; z-index:10000; background-color:#EAF1FB" align="center" ><img src="loader.gif" width="24" height="24" alt="Loading..." class="textb" >Loading Data please wait</div>
Navigation
[0] Message Index
[*] Previous page
Go to full version