javascript如何寫出類似于jquery中的.hide()的函數
3 回答
侃侃爾雅
TA貢獻1801條經驗 獲得超16個贊
<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
提交
取消
