【发布时间】:2011-10-02 13:41:23
【问题描述】:
我使用 asp.net vs 2008。我正在尝试 jquery。我收到此错误
“microsoft jscript 运行时错误对象不支持此属性或方法 jquery”
任何帮助表示赞赏。
这是我正在使用的代码。
<title></title>
<script type="text/javascript" src="jquery-1.6.4.js"></script>
<script type="text/javascript">
$(document).ready(function() {
("button").click(function() {
$("p").hide();
});
}); </script>
</head>
<body>
<form id="form1" runat="server">
<h2>This is a heading</h2>
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
<button>Click me</button>
</form>
</body>
【问题讨论】: