jquery中的“>”符号是什么意思 [英] What does the ">"symbol in jquery means
本文介绍了jquery中的“>”符号是什么意思的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我说:
when i say :
me.showPage = function (pageID) {
debugger
$('#content > div').hide();
$('#' + pageID).show();
}
这是什么意思?
what does that mean ?
推荐答案
(' #content> div')。hide();
('#content > div').hide();
(' #' + pageID)。show();
}
('#' + pageID).show(); }
这是什么意思?
what does that mean ?
它指的是在选择器中直接显示父子关系,请阅读更多信息: jQuery parent>子选择器 [ ^ ]
It refers to immediate parent child relationship in selector, read more: jQuery parent > child Selector[^]
这篇关于jquery中的“>”符号是什么意思的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文