slipperyfish Posted March 29, 2006 Share Posted March 29, 2006 Is it possibile to get the src of say an image, then find the filename of that source?For example:<img src="blah.jpg" id="anImage" />[code]var imageSrc = anImage.src;[return base filename of the variable]document.write([filename]);[/code]or is this just a ridiculous question? Quote Link to comment Share on other sites More sharing options...
slipperyfish Posted March 30, 2006 Author Share Posted March 30, 2006 doesn't matter anymore, i have found a way around it. Quote Link to comment Share on other sites More sharing options...
GBS Posted April 19, 2006 Share Posted April 19, 2006 Hi there,,cool,.... & it was,... ? :)It would be pretty nice to show us the solution,... ;)l8tr,, Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.