Registriert seit: 22. Mär 2005
Ort: Dingolfing
4.129 Beiträge
Turbo Delphi für Win32
|
Re: HTML-Variable verwenden
19. Apr 2006, 18:22
Code:
<script language="JavaScript">
var jahr = "2006";
var monat = "04";
var bild = jahr+monat+".jpg";
document.write("<img border='0' src=\""+bild+"\">");
</script>
Manuel Eberl „The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it.“
- Terry Pratchett
|