比如我有
<p id="test">测试</p>
<p id="test1">测试1</p>
<p id="test2">测试2</p>
<p id="test3">测试3</p>
. test4
. test 5
. test6......
请问一下我想让隐藏除了id 为test 和test1的元素. 该怎么写.
比如我有
<p id="test">测试</p>
<p id="test1">测试1</p>
<p id="test2">测试2</p>
<p id="test3">测试3</p>
. test4
. test 5
. test6......
请问一下我想让隐藏除了id 为test 和test1的元素. 该怎么写.