141
rated 0 times
[
145]
[
4]
/ answers: 1 / hits: 67746
/ 15 Years ago, fri, march 26, 2010, 12:00:00
I have a full path to an image, which I am using jQuery to read like this:
$('img.my_image').attr('src');
However I just want the filename portion (i.e. without full path).
Are there any built-in functions to do this, or would a regex be the only option?
More From » jquery