第一次未触发按钮事件 [英] Button event not fired for the first time

查看:79
本文介绍了第一次未触发按钮事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 当我第一次进入该页面时,第一次单击该按钮时,事件不会触发,但下次单击时会触发事件.当我进入该页面时,在所有按钮事件中都会发生这种情况.

Hi When i click the button for the first during when i enter''s into the page for the first time the event not fired but the next clicks the event fire. This happens in all the button events when i entered into that page. Will some one explain whats the cause for this one.

推荐答案

只有在页面完全加载后,才能单击按钮.
因此,请确保在页面加载after时触发此事件.
A button click can fire only when the page has completely loaded.
So make sure that this event is fired after the page loads.


这篇关于第一次未触发按钮事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆