简体   繁体   中英

How to implement "update list after clicking label" in a web page?

In my webpage, I have a full list of publications. However, I want to set up a few labels according to different research topics. Then when I click one label, the list of papers is expected to be updated (only the papers related to this topic will be shown, others hidden). How can I implement this? Is there any template on this?

Thanks in advance.

When you click on the link, a class could be changed on the list element, and then your CSS could hide/show the papers appropriately.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM