title: HTML/JS - SVG fill
body: <p>In my HTML code I have:</p>
  <pre><code>    &lt;animate id= animationBottle attributeName=&quot;y1&quot;
          from=&quot;101%&quot;
          to=&quot;70%&quot;
          begin=&quot;0s&quot;
          dur=&quot;1s&quot;
          fill=&quot;freeze&quot;&gt; 
      &lt;/animate&gt;
  </code></pre>
  <p>Is there a way to make the 'to=&quot;70%&quot;' variable with JS?</p>
  <p>Thanks in advance!</p>