Change Text on click
<p>Ok so if I was doing a form, I could use:</p>

<pre><code>&lt;form method="get" action=""&gt;
&lt;label for="textinput"&gt;Text:&lt;/label&gt; 
&lt;input type="text" value="" name="textinput" id="textinput" /&gt; 
&lt;input type="submit" id="submitbutton" value="Search" onclick="return changeText('submitbutton');" /&gt; 
&lt;/form&gt;
</code></pre>

<p>Then add this js:</p>

<pre><code>function changeText(submitId){
    var submit = document.getElementById(submitId);
    submit.value = 'Working...';
    return false;
};
</code></pre>

<p>BUT my issue is my link is this:</p>

<pre><code>&lt;a id="sharelink" href=""&gt;Post to Here&lt;/a&gt;
</code></pre>

<p>So wondering if ONCLICK of link ID > sharelink</p>

<p>I could show > working...</p>

<p>Any suggestions ?</p>
