Click here to Skip to main content
15,347,244 members
Please Sign up or sign in to vote.
2.00/5 (2 votes)
See more:
Please help me to convert this Jquery code to Javascript

$(window).scroll(function () {
           if ($(window).scrollTop() == $(document).height() - $(window).height()) {
Updated 27-May-21 18:05pm

1 solution

jQuery is JavaScript library, jQuery shields you from browser inconsistencies and requires much less code. Refer:
1. jquery-vs-javascript/[^]
2. convert Jquery function into javascript[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900