source: ether_statistics/web/resources/js/Wijmo.2.2.2/Wijmo-Complete/development-bundle/samples/inputnumber/currency.html @ 604

Last change on this file since 604 was 604, checked in by vmipsl, 12 years ago

images

File size: 2.0 KB
Line 
1<!DOCTYPE html>
2<html lang="en">
3<head>
4        <title>Input Number - Currency</title>
5        <meta charset="utf-8" />
6        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
7        <meta name="description" content="Currency sample." />
8        <meta name="keywords" content="" />
9        <meta name="author" content="ComponentOne" />
10       
11        <link href="../../themes/rocket/jquery-wijmo.css" rel="stylesheet" type="text/css" />
12       
13        <script src="../../external/jquery-1.8.0.min.js" type="text/javascript"></script>
14        <script src="../../external/jquery-ui-1.8.23.custom.min.js" type="text/javascript"></script>
15        <link href="../../themes/wijmo/jquery.wijmo.wijinput.css" rel="stylesheet" type="text/css" />
16        <script src="../../external/globalize.min.js" type="text/javascript"></script>
17        <script src="../../external/jquery.mousewheel.min.js" type="text/javascript"></script>
18        <script src="../../external/jquery.wijmo-open.all.2.2.2.min.js" type="text/javascript"></script>
19        <script src="../../wijmo/jquery.plugin.wijtextselection.js" type="text/javascript"></script>
20        <script src="../../wijmo/jquery.wijmo.wijinputcore.js" type="text/javascript"></script>
21        <script src="../../wijmo/jquery.wijmo.wijinputnumber.js" type="text/javascript"></script>
22        <script type="text/javascript">
23                $(function () {
24               
25                        $("#textbox1").wijinputnumber(
26                {
27                        type: 'currency',
28                        decimalPlaces: 2,
29                        showSpinner: true
30                });
31                });
32        </script>
33</head>
34<body class="demo-single">
35        <div class="container">
36                <div class="header">
37                        <h2>
38                                Currency</h2>
39                </div>
40                <div class="main demo">
41                        <!-- Begin demo markup -->
42                        <input type="text" id="textbox1" value="25.5" />
43                        <!-- End demo markup -->
44                        <div class="demo-options">
45                                <!-- Begin options markup -->
46                                <!-- End options markup -->
47                        </div>
48                </div>
49                <div class="footer demo-description">
50                        <p>
51                                This sample demonstrates how to create currency input simply by setting the <b>type</b> to 'currency'.</p>
52                </div>
53        </div>
54</body>
55</html>
Note: See TracBrowser for help on using the repository browser.