Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/73.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
jquery选择器不是';不起作用。我想把它藏起来_Jquery - Fatal编程技术网

jquery选择器不是';不起作用。我想把它藏起来

jquery选择器不是';不起作用。我想把它藏起来,jquery,Jquery,这是工作 $("targetID").hide(); 我可以隐藏按钮和文本类型 但对于table和div,它不起作用。是这样吗 $("#btnInform").hide(); //it's button $("#btnDel").hide(); //it's too. $("#notice_plus").hide(); //it's div 向我们显示您的html和csshow come$(“targetID”).hide()在成为节点之前一直有效?我想知道你是不是在html还是在sri

这是工作

$("targetID").hide(); 
我可以隐藏按钮和文本类型

但对于table和div,它不起作用。是这样吗

$("#btnInform").hide(); //it's button
$("#btnDel").hide();  //it's too.
$("#notice_plus").hide(); //it's div

向我们显示您的html和csshow come
$(“targetID”).hide()
在成为节点之前一直有效?我想知道你是不是在
html
还是在sript中拼错了
notice\u plus
…对不起,伙计们,我加了$(“#notice\u plus”).hide();在函数form_clear()上,当加载网页时,它不会启动。我完全错过了
函数form\u clear()
没有出现在问题中?