Change function input submit to id
<p>I'm looking at some code here that targets the dom by the type="submit" and I'm trying to change it to be the id="go" of a input or button in the dom.  How can I rewrite this to still work.</p>

<pre><code>    t.addEventListener("submit", function (A) {
    A.preventDefault();
    var C = w();
    var B = new C;
    B.append(q.value || q.placeholder);
    saveAs(B.getBlob("text/plain;charset=" + s.characterSet), (h.value || h.placeholder) + ".html")
    }, false);
</code></pre>
