javascript如何写出类似于jquery中的.hide()的函数
3 回答

jeck猫
TA贡献1909条经验 获得超7个赞
<script type="text/javascript">
$(function () {
$(".sech_show").hide();
$(".text_sech").focus(function () {
$(".sech_show").show(600);=====里边的参数是设置速度的,
});
$(".text_sech").blur(function () {
$(".sech_show").hide(500);
});
});
</script>
添加回答
举报
0/150
提交
取消