报错:15Uncaught TypeError: Cannot call method 'ready' of null
请问是什么原因?谢谢回答
部分代码如下:<script type="text/javascript" src="scripts/jquery-1.6.2.min.js"></script><script type="text/javascript" src="scripts/controls.js"></script>
<SCRIPT type="text/Javascript" src="scripts/select.js"></SCRIPT>
<script type="text/JavaScript">
$(document).ready(function(){
/* $("#Kpbs56").checkRange({
onFocus:"年龄为数字",
onEmpty:"不能为空",
onSucces:"验证成功",
onBlur:"验证失败,请认真输入",
dataType:"number",
min:"0",
max:"56",
tipId:"txtAgeTip",
}); */
});
</script>
<fieldset>
<legend align="center">Video Crop Setting</legend>
<table width="100%">
<tr>
<td width="4%"></td>
<td width="48%">
<div class="under_control">
Top/Bottom<span>[0,56]</span>:<input type="text" id="Kpbs56" name="Kpbs" value="0" size="3"/>
</div>
<div class="control">
</div>
</td>
<td width="48%">
<div class="under_control">
Left/Right<span>[0,320]</span>:<input type="text" name="Kpbs" value="0" size="3" />
</div>
<div class="control">
</div>
</td>
</tr>
</table>
</fieldset>
请问是什么原因?谢谢回答
部分代码如下:<script type="text/javascript" src="scripts/jquery-1.6.2.min.js"></script><script type="text/javascript" src="scripts/controls.js"></script>
<SCRIPT type="text/Javascript" src="scripts/select.js"></SCRIPT>
<script type="text/JavaScript">
$(document).ready(function(){
/* $("#Kpbs56").checkRange({
onFocus:"年龄为数字",
onEmpty:"不能为空",
onSucces:"验证成功",
onBlur:"验证失败,请认真输入",
dataType:"number",
min:"0",
max:"56",
tipId:"txtAgeTip",
}); */
});
</script>
<fieldset>
<legend align="center">Video Crop Setting</legend>
<table width="100%">
<tr>
<td width="4%"></td>
<td width="48%">
<div class="under_control">
Top/Bottom<span>[0,56]</span>:<input type="text" id="Kpbs56" name="Kpbs" value="0" size="3"/>
</div>
<div class="control">
</div>
</td>
<td width="48%">
<div class="under_control">
Left/Right<span>[0,320]</span>:<input type="text" name="Kpbs" value="0" size="3" />
</div>
<div class="control">
</div>
</td>
</tr>
</table>
</fieldset>
解决方案 »
- jsp 怎么输出json格式的数据
- 如何记录用户访问次数
- jsp连接mysql的问题
- 如何页面onload的时候,调用servlet?
- struts标签中的radio怎样实现默认选中一个
- jsp中WEB-INF这个文件夹一定要吗?
- 初学者提问:怎么控制一个页面内两个按钮都提交内容到同一servlet?
- 请问谁知道在VisualAge for java下出现No suitable driver是怎么回事
- 学习jsp之最低需求?????????,我要学jsp,不知道用什么,原来装着jdk,机子有www服务,不知道配置运行jsp后,会不会对原来的www产生什么不良影响?
- jsp页面为Id属性动态加上编号
- 求救:急急急急急!tomcat部署的项目在哪里?
- jsp实现Windows文件目录树!
$(document).ready(function(){
/* $("#Kpbs56").checkRange({
onFocus:"年龄为数字",
onEmpty:"不能为空",
onSucces:"验证成功",
onBlur:"验证失败,请认真输入",
dataType:"number",
min:"0",
max:"56",
tipId:"txtAgeTip",
}); */
});
</script>
你不写实现,不调用这个方法放在页面上干嘛?
<input type="text" name="Kpbs" value="0" size="3" />