I have a page with many input text fields and need to have onClick, onBlur and onChange trigger functions for evey one. Is there a way to bind an event listener to all the input elements such that when an event occurs it fires a function that can then determine the name or id of the source input tag (event.srcElement) and process the rest of the function? I don't want to include "onBlur, onClick and onChange" in each tag as there are hundreds to thousands of input fields.

Thanks Rob.

PS this is the code now:

<input type=text name=XData123 value="26,121.00" onchange="javascript:XData_onchange('XData123', 2);" onfocus="javascript:XData_focus();" onblur="javascript:XData_onblur();">