Rabbit W
asked on
Add images to the list
I tried to add the image from the bootstrap modal window which is a different page to the main page, but the image won't be added.
Below is the coding from the modal window.
Below is the coding from the modal window.
<div class="p">
<div class="thumbnail">
<div class="thumbnail-img">
<img src="images/<%=idProduct%>/1.jpg">
</div>
<p><button class="btn add-remove-btn btn-primary" data-identitfier='4'>Add to List</button>
</p>
</div>
</div>
ASKER
Yes, I have two pages instead of one. Yes, this is what I want.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Do you have the modal in page two when the list in page one?
If yes we can't do it simply, we need something like cookies of local storage and we need to refresh the page one to get the selected images in the second page modal.
Does this what you want?