This commit is contained in:
27
WebRoot/js/easyui-1.3.5/demo/numberbox/basic.html
Normal file
27
WebRoot/js/easyui-1.3.5/demo/numberbox/basic.html
Normal file
@@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Basic NumberBox - jQuery EasyUI Demo</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../themes/icon.css">
|
||||
<link rel="stylesheet" type="text/css" href="../demo.css">
|
||||
<script type="text/javascript" src="../../jquery.min.js"></script>
|
||||
<script type="text/javascript" src="../../jquery.easyui.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h2>Basic NumberBox</h2>
|
||||
<div class="demo-info">
|
||||
<div class="demo-tip icon-tip"></div>
|
||||
<div>The Box can only input number.</div>
|
||||
</div>
|
||||
<div style="margin:10px 0;"></div>
|
||||
<input class="easyui-numberbox" required data-options="
|
||||
onChange: function(value){
|
||||
$('#vv').text(value);
|
||||
}">
|
||||
<div style="margin:10px 0;">
|
||||
Value: <span id="vv"></span>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
43
WebRoot/js/easyui-1.3.5/demo/numberbox/format.html
Normal file
43
WebRoot/js/easyui-1.3.5/demo/numberbox/format.html
Normal file
@@ -0,0 +1,43 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Format NumberBox - jQuery EasyUI Demo</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../themes/icon.css">
|
||||
<link rel="stylesheet" type="text/css" href="../demo.css">
|
||||
<script type="text/javascript" src="../../jquery.min.js"></script>
|
||||
<script type="text/javascript" src="../../jquery.easyui.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h2>Format NumberBox</h2>
|
||||
<div class="demo-info">
|
||||
<div class="demo-tip icon-tip"></div>
|
||||
<div>Number formatting is the ability to control how a number is displayed.</div>
|
||||
</div>
|
||||
<div style="margin:10px 0;"></div>
|
||||
<table>
|
||||
<tr>
|
||||
<td>Number in the United States</td>
|
||||
<td><input class="easyui-numberbox" value="1234567.89" data-options="precision:2,groupSeparator:','"></input></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Number in France</td>
|
||||
<td><input class="easyui-numberbox" value="1234567.89" data-options="precision:2,groupSeparator:' ',decimalSeparator:','"></input></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Currency:USD</td>
|
||||
<td><input class="easyui-numberbox" value="1234567.89" data-options="precision:2,groupSeparator:',',decimalSeparator:'.',prefix:'$'"></input></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Currency:EUR</td>
|
||||
<td><input class="easyui-numberbox" value="1234567.89" data-options="precision:2,groupSeparator:',',decimalSeparator:' ',prefix:'€'"></input></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><input class="easyui-numberbox" value="1234567.89" data-options="precision:2,groupSeparator:' ',decimalSeparator:',',suffix:'€'"></input></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
21
WebRoot/js/easyui-1.3.5/demo/numberbox/range.html
Normal file
21
WebRoot/js/easyui-1.3.5/demo/numberbox/range.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Number Range - jQuery EasyUI Demo</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../themes/icon.css">
|
||||
<link rel="stylesheet" type="text/css" href="../demo.css">
|
||||
<script type="text/javascript" src="../../jquery.min.js"></script>
|
||||
<script type="text/javascript" src="../../jquery.easyui.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h2>Number Range</h2>
|
||||
<div class="demo-info">
|
||||
<div class="demo-tip icon-tip"></div>
|
||||
<div>The value is constrained to a range between 10 and 90.</div>
|
||||
</div>
|
||||
<div style="margin:10px 0;"></div>
|
||||
<input class="easyui-numberbox" data-options="min:10,max:90,precision:2,required:true">
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user