tags:

views:

33

answers:

1

I have a textbox with calendar button. Here my requirement is I need to clear the text box when user clicks Calendar Image control. Please provide JQuery for this.

Thanks in advance.

+2  A: 

Well the simple answer is:

$("#calendarButton").click(function(){    
   $("#yourTextBoxId").val('');
});

But if you want a more detailed solution I would suggest you post some sample code.

fehays