JSP 页面 ng-blur问题

谷歌浏览器加载完页面,一直调用ng-blur这个方法,但是QQ浏览器就没有问题。为什么会有这个问题
页面有模态框,下面是jsp代码
<div  class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<!-- <button type="button" class="close"
data-dismiss="modal" aria-hidden="true">
×
</button> -->
<h4 class="modal-title" id="myModalLabel">会员结账</h4>
</div>
<div id="step1">
<div class="modal-body">
<table width="80%" border="0" align="center" cellpadding="0"
cellspacing="0">
<tr>
<td height="40px" colspan="2">使用赠送储值 :
<span style="font-size: 16px; font-weight: bold;">{{payInfo.pay_zs|currency:''}}元</span>
<input id="isUseZsValue" type="checkbox" ng-model="usechuzhi" ng-click="isUseZsValue()" />
<span style="color: #ff0000">{{paymentPrompt_zs}}</span>
</td>
</tr>
<tr>
<td height="40px" colspan="2">可用电子券 :  
<span ng-class="{document_display:usezhiquan == '1' }">
<select ng-class="{document_display:selectCoupons == '0' }" ng-model="payInfo.pay_quan" ng-change="selectMycoupons()"
ng-options="m.code as m.value for m in mycoupons"></select>
<span style="color: #ff0000">{{usecoupons_Prompt}}</span>
</span>
<span >
<input ng-model="theOtherCoupons" ng-blur="getcoupons()" ng-class="{document_display:usezhiquan == '0' }" />
</span>
<span>
<button class="btn btn-mini btn-info" ng-click="usezhiquan_tabclick()">{{usezhiquan_btnStr}}</button>
</span>
</td>
</tr>

</table>
</div>

</div>
</div>
</div>
</div>
...全文
172 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
  • 打赏
  • 举报
回复
chrom页面记住密码之后就会一直触发ng-blur事件

87,916

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧