Hi,
I have a situation where I have to find alternative to Onclick because I don't want to edit code for submit button in my case. Here is I have this code :
<input type="button" id="someID" value="Search" onclick="clickevent();" />
Here I don't want to use onclick="clickevent();" because then I will need to modify it a lots of places, instead I want to use Javascript only to capture even and do something, in Jquery one can generally do this by using ID.click(function{
Some code here});
But here I need to use plain javascript.