HOW TO CALL EVENT ONLY ONE AT A TIME

HOW TO CALL EVENT ONLY ONE AT A TIME

Hi

I have used onChage and OnBlur for textbox. Generally it calls both if we change something in textbox. I need to call only one if we change something then onChange if we don't change then onBlur event.

<input class='rowstextfieldleftborder' id='TEMP_ORLN_STK_NAME' onChange=savedata('" + col + "','" + row + "')  onBlur=savedata('" + col + "','" + row + "') type='text' value='" + $value + "' />

Can you please tell me how to resolve this issue?

Note: the above control will generate dynamically.

Thanks in advance