我尝试通过该课程实现输入用户掩码并且无法运行它。它不起作用。
我的 .html 文件:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Page Title</title>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js" type="text/javascript"></script>
<script src="jquery-1.3.2.min.js" type="text/javascript"></script>
<script type="text/javascript" charset="utf-8">
jQuery(function($){
$("#date").mask("99/99/9999");
});
</script>
</head>
<body id="" onload="">
The following example is a demonstration from the usage tab.
<table border="0">
<tbody>
<tr>
<td>Date</td>
<td><input id="date" tabindex="1" type="text"></td>
<td>99/99/9999</td>
</tr>
</tbody>
</table>
</body>
</html>
我做错了什么吗?