title: Change SVG path with JavaScript
body: <p>Here is the SVG path:</p>
  <pre><code>&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; version=&quot;1.1&quot; id=&quot;sss&quot; viewBox=&quot;0 0 500 300&quot;&gt;
    &lt;path id=&quot;s3&quot; d=&quot;M 10,90 Q 100,15 200,70 Z&quot;/&gt;
  &lt;/svg&gt;
  </code></pre>
  <p>How can I change the <code>d</code> value?</p>
  <p>Why does <code>alert(document.getElementById('s3').d);</code> give me <code>undefined</code>?</p>