在搜索框里加点击事件不好使的解决方法
2017-08-13 11:07
267 查看
1、不好使情况1:
<label class="item item-input"><i class="icon ion-ios-locked-outline placeholder-icon"></i>
<input type="tel" placeholder="验证码">
<button class="button button-positive button-small" ng-click="sendCode()">获取验证码</button>
</label>
2、不好使情况2:
<label class="item item-input"><i class="icon ion-ios-locked-outline placeholder-icon"></i>
<input type="tel" placeholder="验证码">
<a class="button button-positive button-small" ng-click="sendCode()">获取验证码</a>
</label>
3、好使情况:
<div class="item item-input"><i class="icon ion-ios-locked-outline placeholder-icon"></i>
<input type="tel" placeholder="验证码">
<button class="button button-positive button-small" ng-click="sendCode()">获取验证码</button>
</div>
相关文章推荐
- 移动端点击(click)事件延迟问题的产生与解决方法
- jQuery on()方法绑定动态元素的点击事件无响应的解决办法
- (Java)JComboBox的itemStateChanged事件被选中点击执行两次的解决方法
- asp.net 点击服务器按钮 不触发后台事件解决方法
- Android 控件使用Animator动画后,点击事件失效解决方法
- Android防止按钮过快点击造成多次事件的解决方法
- 使用jquery on()方法解决html页面点击元素,事件无响应的问题
- iOS解决按钮短时间内多次点击只触发一次事件方法(开始写博客)
- Listbox 重复点击事件不能响应的解决方法
- jquery mobile的触控点击事件会多次触发问题的解决方法
- jquery mobile的触控点击事件会多次触发问题的解决方法
- iOS下Safari点击事件失效的解决方法
- Android中解决RecyclerView各种点击事件的方法
- Android编程出现Button点击事件无效的解决方法示例
- 关于使用DrawerLayout建立侧滑菜单时,下层布局依然可响应点击事件的解决方法
- GridView 中点击更改不能触发RowUpdating事件的解决方法
- jquery click()方法模拟点击事件对a标签不生效的解决办法
- 移动端开发ios下body点击事件无法触发的解决方法
- Butterknife 绑定控件后,点击事件判断为空,问题解决方法一
- input中blur失去焦点事件与点击事件冲突的解决方法