Skip to content

Commit 5a6d00a

Browse files
author
Diego Plentz
committed
creating a demo page. it will be improved later.
1 parent db6a896 commit 5a6d00a

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

examples.html

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<html>
2+
<head>
3+
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js" type="text/javascript"></script>
4+
<script src="https://github.com/plentz/jquery-maskmoney/raw/master/jquery.maskMoney.js" type="text/javascript"></script>
5+
6+
<!-- just necessary for syntax highlight -->
7+
<link href='http://alexgorbatchev.com/pub/sh/current/styles/shCore.css' rel='stylesheet' type='text/css' />
8+
<link href='http://alexgorbatchev.com/pub/sh/current/styles/shThemeDefault.css' rel='stylesheet' type='text/css' />
9+
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shCore.js' type='text/javascript'></script>
10+
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushJScript.js' type='text/javascript'></script>
11+
</head>
12+
<body>
13+
<input type="text" id="demo1" />
14+
<script>$("#demo1").maskMoney();</script>
15+
<pre class="brush: js">$("#demo1").maskMoney();</pre>
16+
17+
<input type="text" id="demo2" />
18+
<script>$("#demo2").maskMoney({defaultZero:false});</script>
19+
<pre class="brush: js">$("#demo2").maskMoney({defaultZero:false});</pre>
20+
</body>
21+
<script type="text/javascript">
22+
SyntaxHighlighter.all()
23+
</script>
24+
</html>

0 commit comments

Comments
 (0)