Coast Line
asked on
Loading a Large Data through jquery! want to show Processing Please wait message
It will be easier for fols of jquery because i am just a starter of jquery and i sometimes gets issues at simple places!
My question is i am getting the following data from jquery!
$.ajax({
type:"POST",
url:"welcome.php",
data: data,
success: function (html) {
$('#message').html(html);
}
});
return false;
Now my concern is the welcome.php page gives me a Data which takes around 1 min to load, actually it has a big view which takes time..
Now my Problem. I want to show a message to the user, when button clicked like this!
Please wait while we fetch data... and an revolving Image also in some red color
So once the data is load it should slowly fade out
Please guide
Thanks
My question is i am getting the following data from jquery!
$.ajax({
type:"POST",
url:"welcome.php",
data: data,
success: function (html) {
$('#message').html(html);
}
});
return false;
Now my concern is the welcome.php page gives me a Data which takes around 1 min to load, actually it has a big view which takes time..
Now my Problem. I want to show a message to the user, when button clicked like this!
Please wait while we fetch data... and an revolving Image also in some red color
So once the data is load it should slowly fade out
Please guide
Thanks
ASKER
umm! i am still confused @ large. The links you gave me does not tell me how they will show image or loading message first when i make a call to the ajax welcome.php Page, it is retirning a whole html page with records already filled in!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks I will try and get back to you!
are you around for the next couple of hrs, i want this to finish it asap!
are you around for the next couple of hrs, i want this to finish it asap!
ASKER
is it necessary that i append to the body, can't i append the div to any specific table with specific ID so it should the div in that table rather than on body tag
some where in your form this should be defined like this.you are the best person to judeg where to define this..
<div id="progressbar"></div>
<div id="progressbar"></div>
http://www.electrictoolbox.com/load-content-jquery-ajax-loading-image/
http://www.linein.org/blog/2008/11/13/jquery-display-images-text-until-script-is-finished/
http://css-tricks.com/6180-loading-dots-plugin/
hope it helps