I’m actually working on an app, more prcisely I’m working to the bookmarks system. When you want to add an image to your bookmarks, you just click on the bookmark ’ s button, so this button is hidden and another is shown on the web page. The button shown is yellow and it supposed to notify that you’ve just sent your image to your bookmarks. However, when the image is already in the bookmarks, I want to display only the yellow button and not the other one. How can I do that please ?
Any help would be much apprciated.