0

how to insert date in table by using datepicker jquery?

my jquery code is as:

 <script language="JavaScript" type="text/javascript">
        $(function() {
            $( "#date" ).datepicker();
        });
    </script> 

in html

<tr colspan="2">
<td valign="top" align="left">
Date<font color="red">*</font></td>
<td valign="top" align="left">
<input type="text" id="date" name="date" value="" readonly="readonly" autocomplete="off" size="20">
</td></tr>
2
Contributors
4
Replies
14
Views
3 Years
Discussion Span
Last Post by MMadhavi
0

Try this:

 <script>
$(function() {
$( "#datepicker" ).datepicker();
});
</script>



<input class="input" name="date" type="text" id="datepicker">
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.