javascript - $.ajax call and getting/scrolling to top of div -
I have is populated by a Avx call an Ajax I am guessing that I do not div to div () Because Dome's height is 0.
How can I dynamically reach the top and scroll to the top (animate) every time the content is loaded?
$ .ajax ({cache: false, url: 'content /' + + + / this.content.php ', data: { "data-set-id': t} type: 'Post' success: // function (e) {$ ( '# div .content'). Fedot (function () {$ (this) .html (e) .fadeIn ();}); population Scroll to the top of the div in the}}, error: function (e) {// error}});
what
$ ("#div"). Chetan ({scrollTop: "0px"}); Not working?
Whoever is stumbling on it, here is a Bela:
Comments
Post a Comment