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!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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