获取对象对象框 [英] Getting object object dialog box
本文介绍了获取对象对象框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用此功能通过单击键盘向下键向下滚动页面,当页面向下滚动时我调用另一个函数来加载数据,这工作正常但问题是当我关闭页面时我得到了对象对象对话框请帮忙。
注意:我点击页面这么多次对象对象对话框会出现。
window.onkeydown = keydown;
function keydown(){
window.scrollBy(0,10);
if($(window).scrollTop()== $(document).height() - $(window).height()){
CallWebService();
}
}
解决方案
(窗口).scrollTop()==
(document).height() -
(window).height()){
CallWebService();
}
}
i am using this function to scroll down the page by clicking keyboard down key and when page is scroll down i am calling one more function to load data, this is working fine but problem is when i close the page i am getting object object dialog box please help.
NOTE: How many times i click on the page so many times object object dialog box will appear.
window.onkeydown = keydown; function keydown() { window.scrollBy(0, 10); if ($(window).scrollTop() == $(document).height() - $(window).height()) { CallWebService(); } }
解决方案
(window).scrollTop() ==
(document).height() -
(window).height()) { CallWebService(); } }
这篇关于获取对象对象框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文