corrade-http-templates – Blame information for rev 57

Subversion Repositories:
Rev:
Rev Author Line No. Line
57 office 1 <!doctype html>
2 <html lang="en">
3 <head>
4 <meta charset="utf-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1">
6 <title>jQuery UI Spinner - Currency</title>
7 <link rel="stylesheet" href="../../themes/base/all.css">
8 <link rel="stylesheet" href="../demos.css">
9 <script src="../../external/requirejs/require.js"></script>
10 <script src="../bootstrap.js" data-modules="external/globalize/globalize external/globalize/globalize.culture.de-DE external/globalize/globalize.culture.ja-JP external/jquery-mousewheel/jquery.mousewheel">
11 $( "#currency" ).on( "change", function() {
12 $( "#spinner" ).spinner( "option", "culture", $( this ).val() );
13 });
14  
15 $( "#spinner" ).spinner({
16 min: 5,
17 max: 2500,
18 step: 25,
19 start: 1000,
20 numberFormat: "C"
21 });
22 </script>
23 </head>
24 <body>
25  
26 <p>
27 <label for="spinner">Amount to donate:</label>
28 <input id="spinner" name="spinner" value="5">
29 </p>
30  
31 <p>
32 <label for="currency">Currency to donate</label>
33 <select id="currency" name="currency">
34 <option value="en-US">US $</option>
35 <option value="de-DE">EUR €</option>
36 <option value="ja-JP">YEN ¥</option>
37 </select>
38 </p>
39  
40 <div class="demo-description">
41 <p>Example of a donation form, with currency selection and amount spinner.</p>
42 </div>
43 </body>
44 </html>