Click here to Skip to main content
15,666,947 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i used the jquery datepicker plugin when i click the add button it shows the modalpopupextender and i added the datepicker to textbox. after i choose the date it does not show the selected date in textbox,

here i attached the code.

pls anybody help me

$(document).ready(function() {
                   function EndRequestHandler(sender, args) {
                       $('.mydatepickerclass').datepicker({ dateFormat: 'dd/mm/yy', minDate: new Date(2000, 1 - 1, 1),
                       onSelect: function(dat) { alert(args); $('#dat').html(dat); }

1 solution

Oh no! It looks like you are trying to mix C# (server-side) code with JavaScript (client-side) code.

I don't know how to help, frankly. To me, it looks like you have to start your computer education from the very beginning. It looks like you have no idea how computer languages work in general, set aside understanding of how Web, HTTP servers and Web browser work.

If this is just the habit to write code by trying, without understanding of each like, it would be even worse. It won't take you far.

Sorry, this is not fixable.

Share this answer
kanagmathes 16-Feb-12 4:07am    
Thank u very much for ur kind information... SAKryukov

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900