I'm attempting to achieve the following goal:
$(".share-icon").html("<%= image_tag(@card.photo.url(:small)) %>");
It seems that this code snippet is not functioning as expected. How can I utilize the image_tag
method in a JS response?
Thank you