aspx Tutorial

NET Articles,jQuery demo, asp.net with jQuery, online tutorial,Jquery, SilverLight, Javascript, asp.net,JSON, MVC,.NET Articles,demo, Web Services,
Advertise Here

Toolbar

Get our toolbar!

Advertize



Posted by Aamir Hasan   on Friday, January 14, 2011 Total Views:  

The jQuery Format Currency Plugin is a simple to format currency of any number.

Here’s a simple way to use this plug-in your HTML or ASP.NET Pages.

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script src="Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <script src="Scripts/jquery.formatCurrency-1.4.0.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        $(document).ready(function () {
            $("#div1").text("$33").formatCurrency();
            $("#div2").text("$100").formatCurrency();
            $("#div3").text("$0.200").formatCurrency();
            $("#div4").text("$40000000").formatCurrency();
            $("#div5").text("$5000000000").formatCurrency();
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <h2>
            Formatted Currency</h2>
        <div id="div1">
        </div>
        <div id="div2">
        </div>
        <div id="div3">
        </div>
        <div id="div4">
        </div>
        <div id="div5">
        </div>
    </div>
    </form>
</body>
</html>


Output

Download

Format-Currency.zip (132.72 kb)

See live demo

Tags:
Protected by Copyscape Online Plagiarism Tool

Comments (15) -

miniclip
miniclip Turkey
7/1/2012 7:47:04 PM #

This is interesting! I enjoyed reading your great post.Thanks for the valuable information and insights you have shared here.

http://miniclip.ms/

Graphic Design
Graphic Design United States
8/22/2012 7:16:56 AM #


Really i appreciate the effort you made to share the knowledge.The topic here i found was really effective to the topic which i was researching for a long time.

www.exclusivebeauties.com/humiliation-fetish-chat
www.exclusivebeauties.com/humiliation-fetish-chat United States
8/24/2012 6:25:47 AM #

Really i appreciate the effort you made to share the knowledge.The topic here i found was really effective to the topic which i was researching for a long time.

funny videos
funny videos Ireland
9/17/2012 7:31:15 AM #


Really i appreciate the effort you made to share the knowledge.The topic here i found was really effective to the topic which i was researching for a long time.

Armor game
Armor game United States
1/7/2013 3:03:25 PM #

This is interesting! I enjoyed reading your great post.Thanks for the valuable information and insights you have shared here.

Armor games
Armor games United States
1/7/2013 3:04:01 PM #

This is interesting! I enjoyed reading your great post.Thanks for the valuable information and insights you have shared here. http://www.armorgame.cc
http://www.kongregate6.com
http://www.y8ab.com

Program Flavor Tabs
Program Flavor Tabs United States
1/29/2013 3:40:04 AM #

Thanks for sharing with us useful info, also check out more info on Program Flavor Tabs www.budgetpetcare.com/.../...tick-treatment-7.aspx

Jewelry Wholesalers
Jewelry Wholesalers United States
3/1/2013 1:59:41 AM #

Thanks for posting such a nice blog.

Dell Docking Stations
Dell Docking Stations United States
3/13/2013 4:01:36 AM #

i appreciate the effort you made to share the knowledge.The topic here i found was really effective to the topic which i was researching for a long time.

http://premiumlaptopparts.com/

SEO Services
SEO Services Australia
3/20/2013 4:14:08 AM #

http://www.crazyseo.com.au/

This is a good common sense Blog. Very helpful to one who is just finding the resources about this part. It will certainly help educate me.

SEO Services
SEO Services Australia
3/20/2013 4:14:12 AM #

http://www.crazyseo.com.au/

This is a good common sense Blog. Very helpful to one who is just finding the resources about this part. It will certainly help educate me.

SEO Services
SEO Services Australia
3/20/2013 4:14:59 AM #

Interesting and important information. It is really beneficial for us. Thanks

<a href="http://www.crazyseo.com.au">SEO Company Australia</a>

Sewing Machines
Sewing Machines United States
3/29/2013 11:40:46 PM #

Very nice and helpful information has been given in this article. I like the way you explain the things. Keep posting. Thanks
http://www.janomeflyer.ca/

buy real instagram followers
buy real instagram followers United States
7/6/2013 10:20:36 AM #

This is interesting! I enjoyed reading your great post.Thanks for the valuable information and insights you have shared here.

tu
tu United States
10/28/2013 2:36:41 AM #

I approximating this blog its a master tranquility ! Cheerful I discovered this on google. "Irrationally held truths may be extra destructive than reasoned errors." by Thomas Huxley.

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading

Advertizement 1
Advertizement 2
Advertizement 3
Advertizement 4
Advertizement 5