Hi, how can I capture image name from a grid which has an image component in it? Since I have a catalogue of products (with images) appearing on a page (inside a grid), I am trying to use the following code but it is giving an undefined URL in image variable.
var image = $(this).parent().find("[name=Offer_image]").attr('src');
Offer_image is the name of image component.
I want to use this image name to store in a local variable and then use on a different page.