<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" 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>Untitled Page</title>
<script language="javascript" type="text/javascript">
$(document).ready(function()
{
$(".button1").click(function()
{
$("p").hide("slow");
});
$(".button2").click(function()
{
$("p").show("slow");
});
});
</script>
</head>
<body>
<form id="form1" runat="server">
<input id="Button1" type="button" value="button" class="button1"/>
<input id="Button2" type="button" value="button" class="button2"/><h2>Welcome to F5 Technologies </h2>
<p>        F5 Technologies is a rapidly developing company, acquiring its position on the business market,
Our company helps make products
delivery more effective, efficient, and meaningful to our customers, and allow them to take greater
responsibility for their own new products.Software is developed by the most experienced development staffs. </p>
</form>
</body>
</html>
-1
A
回答
1
你需要包括jQuery库。
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script>
+0
我忘了它。谢谢你。 – 2010-01-21 05:54:21
0
尽管我对这个问题的评论,它看起来像的罪魁祸首是,你实际上并没有引用jQuery的JS文件。尝试是这样的:
<script type="text/javascript" src="Scripts/jquery-1.3.2.js"></script>
1
相关问题
- 1. 我的jquery不会工作
- 2. 我的jquery css不工作
- 3. jQuery的不工作我的ASP页面
- 4. 我的jQuery的不能正常工作
- 5. 使用我的JavaScript jQuery的不工作
- 6. jquery不会为我工作!
- 7. jquery num ++不为我工作
- 8. jQuery的不工作
- 9. 切换不工作我的jQuery
- 10. 为什么我的jquery loader不工作?
- 11. jQuery的不工作,我希望
- 12. Javascript/jquery不工作在我的网站
- 13. jquery不能在我的VS2013工作
- 14. 为什么我的jquery/javascript不工作?
- 15. JQuery .find()在我的IE中不工作
- 16. jquery .animate不工作在我的HTML
- 17. 为什么我的jQuery fadeOut不工作?
- 18. 最接近的jQuery()不是为我工作(或我不工作的话)
- 19. jQuery的:不是不工作
- 20. 的jQuery的slideToggle不工作
- 21. jQuery的的CSS不工作
- 22. WordPress的 - jQuery的不工作
- 23. jQuery的:Django的不工作
- 24. 的jQuery的onblur不工作
- 25. Jquery的的setTimeout不工作
- 26. 我不能得到的jQuery或jQuery UI的工作
- 27. jquery不工作?
- 28. jquery不工作
- 29. Jquery不工作?
- 30. JQuery不工作
究竟是不是工作?我在这里没有看到问题。 – Eilon 2010-01-21 05:51:25