Good morning, friends,
I have a JQuery code for a "page up" function, but it does not work because of my version of Jquery that is 1.12.24 and I can not update.
Is there any way to adapt the code with accepted functions in this version? Does anyone remember what did not yet exist? Follow cod:
<script>
$(document).ready(function() {
$('.list_options.hotels .hotel_block .rooms_options > .price').click(function(event) {
event.preventDefault();
$('html, body').animate({scrollTop: 0}, 1000);
event.stopPropagation();
});
});