Hide previous Date form current Date using JS

 <script type="text/javascript">
        $(function () {
            $('#txtdate').datepicker('setStartDate', new Date());
            $('#txtdate').datepicker({

            }).on('change', function () {
                $('.datepicker').hide();
             

            });
        });
     
   
    </script>

Comments

Popular posts from this blog

Create Schema Using C# Asp .Net Dynamically.

How to set Transaction and Roll Back using Entity Framework in C# Code.

How to post image in blob using Windows Azure.