forked from KevinSheedy/jquery.alphanum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (30 loc) · 1.02 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>The W3C Markup Validation Service</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script type="text/javascript" src="lib/jquery.js"></script>
<script type="text/javascript" src="jquery.alphanum.js"></script>
<script type="text/javascript">
</script>
<link rel="stylesheet" type="text/css" href="lib/browserReset.css"></link>
<style type="text/css">
</style>
</head>
<body>
<h1>alphanum()</h1>
<input id="firstName"></input>
<h1>numeric()</h1>
<input id="accountBalance"></input>
<a href="qunit.html">QUnit Tests</a>
<a href="unitTests.html">Unit Tests</a>
<script type="text/javascript">
//$.fn.alphanum.setNumericSeparators(".", ",");
$('#firstName') .alphanum();
$('#accountBalance').numeric({
maxPreDecimalPlaces : 10,
maxDecimalPlaces : 2
});
</script>
</body>
</html>