Rank: Advanced Member
Groups: Administrators, DataVizJavaScript, jQueryChart, jQueryDV, MvcChart, Registered Joined: 1/3/2011(UTC) Posts: 483
Thanks: 0 times Was thanked: 87 time(s) in 87 post(s)
|
Hi, you can use something like: Code: <img id="loading" src="~/Images/spinner.gif" alt="Updating ..." style="display: none;" />
$(document).ready(function () {
$("#loading").show();
$.ajax({ url: url, success: function (data) {
$("#loading").hide(); // craeate your chart initChart(data); } }); }); Best Regards, Dragan Matek jqChart Inc.
|