title: Change onClick function arguments dynamically
body: <p>I have something like this:</p>
  
  <pre><code>&lt;button id="button1" onClick="someFunc('arg1','arg2')"&gt; &lt;/button&gt; 
  </code></pre>
  
  <p>Is it possible in JavaScript to change parameters of the function <code>someFunc</code> to look like below:</p>
  
  <pre><code>&lt;button id="button1" onClick="someFunc('somethingDiff1','somethingDiff2')"&gt; &lt;/button&gt; 
  </code></pre>