In Jquery if you want to select something you can use various combinations of selector. Is is possible to invert this selection?
var item = $('#someitemparent').html($('#someitem'));
Is it possible to invert this to everything thing else but not #someitem
?
<div id='#someitemparent'>
<div id='#someitem'>
....
</div>
... otheritems
</div>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.