I have come across this page per the following link. A button "Add to List" is at the right side of the image. When the user clicks Add to the list button, it will be added to the My List.
The button turns to Remove from the list once Add to List has been clicked. How to accomplish it? Thank you!
Please try to describe more what you want and update the link since it will lead us always to "The page cannot be found." message.
Rabbit W
ASKER
Per the attached images, when the user clicks Add to List button, the image is added to my list. When clicking my list link, the added image is displayed. After the user adds the image to my list, the button has been changed to remove from list. 1.png 2.png 3.png
Hi Zakaria, I might miss the js file. What is <script type="text/javascript" src="xxx.js"></script> in the head?
Thank you!
How to add the items to the list and then remove these from the list?
Isn't the image remove already working when you click "Remove from List"? on you mean adding a sort of button inside the "My list" area that removes every image?
Rabbit W
ASKER
Sorry, I just updated my css file and now I can see the images now. Thank you!