我想自动点击按钮我想自动点击按钮
但是怎么样?
我试过,但没有成功
<html>
<head>
<script>
$(function(){
$("a").click(function(){
alert("hillo");
});
});
$("a").click();
</script>
</head>
<body>
<a href="http://google.com">google</a>
</body>
</html>
这口井只用了也没成功
$("a").click();
你ddnt包含对jQuery的引用 – SpYk3HH