Jquery onclick event

Jquery onclick event

I am using a jquery date picker, i want to display some data from database whenever i click on any date, so i am looking for some onclick event, so that i can call ajax and fetch my data from database, 
can anyone help me please, how to do it