【发布时间】:2015-07-02 01:57:53
【问题描述】:
如何选择看起来像这样的跨度内的文本?
<span class="season">
<ul class="productBullet">....</ul>
"This is the text I want to select (without the ul above).
</span>
【问题讨论】:
-
这正是你想要达到的目标:stackoverflow.com/questions/3442394/…
-
@Andy 问题似乎与 stackoverflow.com/questions/3442394/… 不同?参见 "after a
- "
#text节点出现在问题的html中。 -
@Andy See at OP "选择 after a
- "
#textnodes ;#textnode withinul...., and#textnode afterul"This is the text I want to select (without the ul above).jsfiddle.net/3wwk5e4x
标签: jquery