当前位置: 代码迷 >> Ajax >> 在使用jquery.ajaxComplete时提示 f is not defined;求大神解答,该如何处理
  详细解决方案

在使用jquery.ajaxComplete时提示 f is not defined;求大神解答,该如何处理

热度:904   发布时间:2012-03-22 17:43:57.0
在使用jquery.ajaxComplete时提示 f is not defined;求大神解答
<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  <title>ajaxComplete</title>
<script type="text/javascript" src="../js/jquery-1.3.2-vsdoc2.js"></script>
<script type="text/javascript">
$('#msg').ajaxComplete(function(){
$('#msg').css("display","none");
});
</script>
  </head>
  
  <body>
  <div id="msg">
  点击
  </div>
  </body>
</html>


------解决方案--------------------
<script src="http://code.jquery.com/jquery-latest.js"></script>
加上这句试试。。
  相关解决方案