开发者

ASP.NET MVC Displaying and automatically refreshing a progress bar for donations

I am building a simple ASP.NET MVC site to record and track donations. We have a set goal of $2,500,000 and will be entering donations into a datab开发者_如何学Pythonase as they come in. We need to have a meter or progress bar on the homepage to show how close they are to the goal. Right now I have a partialView that has the donationGoal and the totalDonationAmount as decimals. What can I use to display this as a bar and automatically refresh at set intervals? Thanks in advance.


You can calculate % and display something like http://jqueryui.com/demos/progressbar/ and refresh it with javascript (setInterval()).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜