File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments