Hi,
Is there any way that I could get the image name only from
document.getEle mentById('Image 1').src without using any character function
to filter the returned string?
This returns "http://localhost/mywebsite/sampleimage.jpg " but I only need
to get "sampleimage.jp g".
Thanks for your time
Kind regards
Mehdi
Is there any way that I could get the image name only from
document.getEle mentById('Image 1').src without using any character function
to filter the returned string?
This returns "http://localhost/mywebsite/sampleimage.jpg " but I only need
to get "sampleimage.jp g".
Thanks for your time
Kind regards
Mehdi
Comment