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

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

python - 'NoneType' object is not callable using 'find_all' in BeautifulSoup -