我试图利用咖啡厅/咖啡厅做以下工作:
(1) 重提在html上展示的所有专题(见下文)。
(2) 除所列前5个专题外,所有专题均采用显示方式。
I tried to do the following but is not working
//Retrieve the entire list of and hide all but the first 5 topics in the list
$(".topics .topic")[5..-1].hide()
Can someone advise me on how I can correctly retrieve the list of topics from the HTML document and subsequently hide ALL but the first 5 topics?