62,072
社区成员
发帖
与我相关
我的任务
分享
<html>
<head>
<script language="javascript" charset="GB2312">
$("#msg").click(function(){
alert("111111111111");
});
</script>
</head>
<body>
<div><input type="text" id="name" value="fasdfds"><input type="button" id="msg" value="点击"></div>
</body>
</html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.4.3.js"></script>
<script>
$(function(){
$("#msg").click(function(){ alert(123); });
});
</script>
</head>
<body>
<div><p>fd</p></div>
<input type="button" id="msg" value="fdsafds">
</body>
</html>
<html>
<head>
<script src="jquery-1.4.3.js">
$(window).load(function() {
$("#msg").click(
function()
{
alert("aaaaaaaaaaaaaaa");
}
);
});
</script>
</head>
<body>
<div><p>fd</p></div>
<input type="button" id="msg" value="fdsafds">
</body>
</html>
<!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>
<title>checkbox</title>
<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#fuckyou").click(function(){
alert("oh no")
})
})
</script>
</head>
<body>
<a id="fuckyou">点我</a>
</body>
</html>
<script src="http://code.jquery.com/jquery-1.4.3.js"></script>