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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Is there a way to retrieve the alt tag for an image programmatically?
So I am using some custom image fields to display product color swatches, and I want to grab the alt tag for the product color swatch image - is there a way to do this? Here is a snippet of my code:
<img width='80' height='80' src='<%=getCurrentAttribute('item','custitemswatch1')%>' alt=''>
So 'custitemswatch1' is the custom image field and I want to display the alt tag that is associated with that image field, but I don't know how?
Thanks.
0