Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
access image alt field from item template
Hello,
Is there anyway to access images alt field from item template?
What I would to do is using
<img src="<%=getCurrentAttribute('item', 'storedisplaythumbnail')%>" />
instead of using
<%=getCurrentAttribute('item', 'storedisplaythumbnailhtml')%>
reason: I used function onload for images, and I would to display the alt filed value for the image I used on mouse hover, so, is there any tag I can use to access the alt field??
example: <img src="<%=getCurrentAttribute('item', 'storedisplaythumbnail')%>" alt="<%=getCurrentAttribute("item","storedisplaythumbnailALT")%>" />
Note: (When I hover the mouse in item record on NS, the alt displayed correctly)
0