I dont think there's a real jQuery way, you could use regular expressions, or maybe split the string with .split('/')



On 28 apr 2009, at 10:36, "David .Wu" <chan1...@gmail.com> wrote:


<img src="images/xxx.gif">

$('img').attr('src') -> This will get images/xxx.gif
How to get xxx.gif by jQuery?

Reply via email to