I have a list of links that I use to filter results, for example.
filter 1, filter 2, filter 3, filter none
When I click on the filter link, I update the contents of the div using the jQuery load command.
What I want then is that the link to the filter that the user clicked on becomes just a text, not a link (this will stop the user by clicking on the link and also show which filter they are using). If the user then clicks on another filter link, I want the previous link to be restored, and then the link to the filter they clicked on is deleted.
How will I use this jQuery? I found that the command was deleted, but I do not think this will help, because I can not restore it when the user clicks on another filter.
thank
source
share