I have create a js file in which i am creating the dynamic table and dynamically changing the click event for the calendar but onclicking the calender image for dynamic gene
You can easily change the onclick event of an element with jQuery without running the new function with:
$("#id").attr("onclick","new_function_name()");
By writing this line you actually change the onclick attribute of #id.
You can also use:
document.getElementById("id").attribute("onclick","new_function_name()");