How to pass the button value into my onclick event function?
<pre><code>&lt;input type="button" value="mybutton1" onclick="dosomething()"&gt;test
</code></pre>

<p>The dosomething function evoked when to click the button,how can pass the value of the button <code>mybutton1</code> into dosomething function as it's parameter ？</p>