<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="dh/jquery-migrate-1.2.0.js"></script></head>
<script type="text/javascript">
$(function(){
$("[type=button]").toggle(function(){
$("[value=hide]").bind("click",function(){
$("ul").toggle();
});
$("[value=hide]").bind("click",function(){
$("ul").toggle();
});
});
});
</script>
<input type="button" value="hide"/>
<!-- <input type="button" value="hide"/> -->
<hr/>
<ul>
<li>5.1 吃土<>
<li>5.1 吃草<>
<li>5.1 吃番薯<>
</ul>
<body>
</body>
</html>
JavaScript界面动态效果
最新推荐文章于 2025-01-22 15:02:24 发布