我是 javascript 和 jquery 的新手。
这个选择器是什么意思:“#LayoutColumn2 > div > div > div > ul”
Contect(它来自的函数):
function loadNextTier(tierID, changedItemValue) {
linkArray.length = 0;
$("#placeholderForLoad").load(changedItemValue + " #LayoutColumn2 > div > div > div > ul", function(){
$("#placeholderForLoad li").each(function(){
var itemName = $(this).children("a").text();
var itemValue = $(this).children("a").attr("href");
linkArray.push(itemValue+";"+itemName);
});
if (tierID == "tier1") {
tierID = "tier2";
}
else if (tierID == "tier2"){
tierID = "tier3";
}
else if (tierID == "tier3") {
tierID = "tier4";
}
resetTiers(tierID);
fillMyList(linkArray, tierID);
});