出于某种奇怪的原因,我开始收到此错误TypeError: events.replace is not a function
。我正在使用 Jquery 网络摄像头插件,我能够在片刻之前看到 flash 播放器摄像头,直到我重新编译了代码并得到了这个错误。下面是我导入的脚本:
脚本
<link rel="stylesheet" href="http://code.jquery.com/ui/1.9.0/themes/base/jquery-ui.css" />
<script src="http://code.jquery.com/jquery-1.8.2.js"></script>
<script src="http://code.jquery.com/ui/1.9.0/jquery-ui.js"></script>
<script src="<%=request.getContextPath()%>/resources/js/jQuery-webcam/jquery.webcam.js"></script>
<script src="<%=request.getContextPath()%>/resources/js/citizen_registration.js"></script>
<link href="<c:url value="/resources/css/forms.css" />" rel="stylesheet" type="text/css" media="screen" />
<link href="<c:url value="/resources/css/citizen_registration.css" />" rel="stylesheet" type="text/css" media="screen" />