I have a button in a menu that sorts items listed below it. In this case the button says "news". By using the data-filter attribute or naming it some certain way, can I go to this specific page with this button clicked so that the items are sorted in the way that this button represents?
Can I use anything in to not only scroll here, but also click the link? Preferably by just using the URL.
Thanks in advance.
In general lines:
sort=news
sort
. ( see MDN for details ) That should do the trick
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.