path variable store the following: /themes/mytheme/images/logo.gif:

var path = $('img').attr('src');

is possible to obtain the image name without path ? I need logo.gif
I need a Javascript or jQuery function to solve this?

Thanks!

Reply via email to