开发者

Jquery Ui DatePicker, attaches to textbox but only works once, then all click events are disabled

开发者 https://www.devze.com 2022-12-21 23:59 出处:网络
<%@ Page Language=\"C#\" AutoEventWireup=\"true\"CodeFile=\"Default.aspx.cs\" Inherits=\"_Default\" %>
<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link rel="stylesheet" href="css/ui-lightness/jquery-ui-1.7.2.custom.css" type="text/css" media="all" />
    <script type="text/javascript" src="js/jquery开发者_运维问答-1.3.2.min.js"></script>
    <script type="text/javascript" src="js/jquery-ui-1.7.2.custom.min.js"></script>
    <script type="text/javascript">
        $(document).ready(function() {
            $('#date').datepicker();
        });
    </script>
</head>
<body>
    <%--<form id="form1" runat="server">--%>
    <div>
        <input type="text" id="date" />
    </div>
    <%--</form>--%>
</body>
</html>

I've attached a datepicker to a text box and the first time I click it, it works a treat and populates the text box with the current date. It works fine in IE7 Comp mode, Chrome and Firefox. It works once or twice on IE8 but locks the browser up after that. One interesting note is the host operating system is Windows 2008 R2.

Any ideas?


It was a corrupt download that I had somehow grabbed from UI, all sorted.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号