Click here to Skip to main content
15,910,130 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
its working at the first time,but its not working after the page postback
How do i solve it :[

JavaScript
<script type="text/javascript" language="javascript">

 
     $(function() {
     $('#<%=txtdate.ClientID %>').datepicker(
          {

              dateFormat: 'dd/mm/yy'
          }

         );


      });
</script>
Posted

 
Share this answer
 
Comments
King Fisher 21-Jun-14 3:15am    
thank you :)
 
Share this answer
 
Comments
Nirav Prabtani 21-Jun-14 4:56am    
congrats.. :)
King Fisher 21-Jun-14 7:20am    
:)

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