date picker in two different browsers

Posted by Renu123 on Stack Overflow See other posts from Stack Overflow or by Renu123
Published on 2010-06-10T13:51:50Z Indexed on 2010/06/18 13:03 UTC
Read the original article Hit count: 216

Filed under:
|

Hello, i am workin on asp.net mvc in that i using partial views. i got one proble ie date picker is working properly on IE but it is not working on Mozilla Firefox. the i have used is:

<link href="<%=ResolveClientUrl("~/Scripts/Themes/ui-lightness/jquery-ui-1.7.2.custom.css")%>" rel="stylesheet" type="text/css" />
<script src="../Scripts/jquery-1.3.2.js" type="text/javascript"></script>

<script src="../Scripts/ui.core.js" type="text/javascript"></script>

<script src="../Scripts/ui.datepicker.js" type="text/javascript"></script>

and the function on view page is:

          <script type="text/javascript">

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

                        <input id="txtTransationDate" name="txtTransationDate" type="text" />

please advice me for it. Thank in advance.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about asp.net-mvc-2