JavaScript .scrollIntoView({behavior: "smooth"}); alternative is not working
<p>The code has to be in my ajax call back i have tried the below and it didn't work has anyone got a solution to this for me please because my client once the transitions to be smooth but at the minute they are all choppy except in mozilla.</p>

<pre><code>   success: function(data)         
 {
   if(jQuery( ".frequency" ).html(data)){
   //jQuery('html, body').animate({ scrollTop: jQuery('#2010').offset().top }, 'slow');
  document.getElementById('dynamictabstrp').scrollIntoView({behavior: "smooth"});

 }

} 
</code></pre>

<p>The alternative code i tried was the .animate but did nothing.</p>