jquery 中$('.ui-selecter',this)这样写 是什么意思 求解释 见到都是这种$("div")

如果用$("div")是拿选择所有的div
$('.ui-selecter',this)选择的是现在选项中的child里面class是ui-selecter的
意思跟jQuery(this).find(".ui-selecter");等同

$('span',this)
等同于
$(this).find('span')

posted on 2016-07-20 22:35  struggle_beiJing  阅读(793)  评论(0编辑  收藏  举报

导航