开发者

jQuery: selector question (dash)

i'm trying to select objects which are having a dash in their classname - like $("div.na开发者_Python百科v-next");

it doesnt work - seems like the dash is the problems - any ideas? thanks


Try this. Get rid of the "div" portion.

$('.nav-next')
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜