Hallo wahsaga.
Wenn du wirklich später noch mal irgendwann von diesem Bild auslesen willst, dass du nur "test.gif" _zugewiesen_ hast - dann speichere dir diese Information noch zusätzlich irgendwo ab - zum Beispiel direkt am Bildobjekt:
Oder aber man http://de.selfhtml.org/javascript/objekte/string.htm#split@title=splittet am „/“ auf und verwendet das letzte Element des daraus resultierenden Arrays.
Einen schönen Mittwoch noch.
Gruß, Ashura
--
sh:( fo:} ch:? rl:( br: n4:~ ie:{ mo:| va:) de:> zu:} fl:( ss:) ls:[ js:|
„It is required that HTML be a common language between all platforms. This implies no device-specific markup, or anything which requires control over fonts or colors, for example. This is in keeping with the SGML ideal.“
[HTML Design Constraints: Logical Markup]
sh:( fo:} ch:? rl:( br: n4:~ ie:{ mo:| va:) de:> zu:} fl:( ss:) ls:[ js:|
„It is required that HTML be a common language between all platforms. This implies no device-specific markup, or anything which requires control over fonts or colors, for example. This is in keeping with the SGML ideal.“
[HTML Design Constraints: Logical Markup]