How to Get the Image identifier in Jquery

How to Get the Image identifier in Jquery

  

I want to get the Image identifier(Stored in database) in jquery when onclick action is performed on Table record of images. how can i achieve this.

Solution

Hello Sushmita,

You are fetching some data from DB and using image URL from it. Also, you will get an identifier along with it from DB, use that identifier as a data attribute in that table record(row/cell/image as per your requirement).
So, You can use that data attribute from jquery easily.

Solution

Amol,                                                                                                                                                                 Thank you this was helpful.