combine Javascript function
<p>I have a code below :</p>

<pre><code>onClick="apply(this.checked, 'textBox3')" onChange="apply(this.checked, 'textBox4')"
</code></pre>

<p>Can I combine this function into 1 function ?</p>

<p>Thank you.</p>
