When I get to the bottom of the scroll, how can I stop it to execute twice?
if ($ (window) .scrollTop () == $ (document) .hit () - $ (window) .ight ()) {last_msg_funtion (); } The option I see is:
I tried to set a var loading setting == Incorrect and, some like : if (loading_already == incorrect) {loading_already = true; Last_msg_function (); SetTimeout ('refresh_loading', 300); }
Comments
Post a Comment