Rabbit W
asked on
Add and Remove List
When I run the html file, it is fine for the ADD and Remove, But when I run the asp page, the image won't be added. per the code:
<table>
<tr>
<td>
<div class="p">
<div class="thumbnail">
<div class="thumbnail-img-<%# DataBinder.Eval(Container.DataItem, "idProduct") %>">
<a href="product.aspx?id=<%# DataBinder.Eval(Container.DataItem, "idProduct") %>">
<div class="img-p">
<img class="thumbnail-img-<%# DataBinder.Eval(Container.DataItem, "idProduct") %>" src="<%=LINK_IMAGES%>small/<%# DataBinder.Eval(Container.DataItem, "idProduct") %>.jpg">
</div>
</a>
<p><button class="btn add-remove-btn btn-primary" data-identitfier='4'>Add to List</button>
</p>
</div>
</td>
</tr>
</table>
ASKER
It gets nothing.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
After it has been updated, nothing has been added and the list number remains zero.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Is there any way to show the add list area till the add button is clicked? How to keep the list area till the user click the remove the button ?
Hi Rabbit,
Sure we can try to adjust it but I would suggest adding a new question for this where we could see the full code HTML/CSS/JS of the "list area".
Sure we can try to adjust it but I would suggest adding a new question for this where we could see the full code HTML/CSS/JS of the "list area".
<%# DataBinder.Eval(Container.
?