How i call the mouse over event after click event on same function in javascript
<p>I need to calling mouse over event after mouse click in javascript not jquery and main thing is that the function is only same after clicking same funtions event will be change
and its new event is mouse over is it possible?</p>

<pre><code>&lt;a href="javascript:void(0);" id="digit" 
   onClick="javascript:return swapClass(val,val2);" 
   class="GetDivCount" onMouseOver="javascript:return swapClass(val,val2);"&gt; 
</code></pre>

<p>Ok so what need here call first swapClass() on click event then after click event same function will call the onmouseover event but remember that the function is paramertarized</p>
