I have no idea how to do this and I need assistance please. I am using asp.net and I have a div with overflow:auto set. The div shows terms and agreements. I also have a asp.net checkbox control with visible set to "false". What I want is a way to make checkbox visible = "true" only after the user scrolls all the way to the bottom. I was trying to add a javascript function called when onmouseup was triggered but I don't think this code is working and I have no idea as to how to make the checkbox control visible = "true" from the javascript code.
function checkScrollPosition(elem) {
if(elem.scrollHeight
以上就是ASP.NET how to tell if div is scrolled to the bottom.的详细内容,更多请关注web前端其它相关文章!