阅读背景:

如果jquery中的前一个元素为空,如何删除当前元素?

来源:互联网 

I want to delete element with class "tehnicneinfo" but only if the element I'm checking ( with class "h2size") has no child. I have a bunch of those elements, generated by a plugin and I want to delete only the ones that have the next element without child. I wrote jquery code, but it delets all of my elements, not only the ones that have the next element without child. Here is my jquery code:I want to delete element with class "tehnicnein




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: