Bernie
Posts: 0
Joined: Fri Jul 27, 2012 2:06 pm

Image name from image control

I do have an image displayed in an image control (jquery).

The name of the control is "mobileimage_PictureTaken".

How do I get the name of that image not using thye click event?

I would like to do something like

Apperyio("mobileimage_PictureTaken").getName

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Image name from image control

Do you need to get the path to that file? Please use the JS code below for that:

prevar path = Apperyio("mobileimage_PictureTaken").attr("src");/pre

Bernie
Posts: 0
Joined: Fri Jul 27, 2012 2:06 pm

Image name from image control

Thanks, Serhii.
That works perfectly fine.

Return to “Issues”