JavascriptjQuery

jQuery ScrollTop Error

setTimeout( function () { if ($('.is-invalid').length) { $("body,html").stop(true, true).animate({scrollTop: parseInt($('.is-invalid').offset().top) - 250}, "slow"); //$("body").delay(100).animate({scrollTop: parseInt($('.has-error').offset().top)-75}, "slow"); } }, 300);
priyankmaniar
March 17, 2020