Change value of property "scrollTop" with JQuery
<p>I try to give the "scrollHeight" value to "scrollTop" property with JQuery.</p>

<p>I found many articles on internet but the solutions don't work.</p>

<p>I'm here</p>

<pre><code>$(".show").each(function() {

var test = $(this).prop('scrollHeight');
// test return a type 'number'
// test return value '2000'
$(this).scrollTop(test);

});
</code></pre>

<p>If I test with </p>

<pre><code> $(this).scrollTop(2000);
</code></pre>

<p>It works !</p>

<p>A link of my test with JSFiddle : <a href="https://jsfiddle.net/Geo_x/fv8pfLap/2/" rel="nofollow">https://jsfiddle.net/Geo_x/fv8pfLap/2/</a></p>