Forums

This topic is locked

js script that doesn't work ???

Posted 19 May 2005 07:02:36
1
has voted
19 May 2005 07:02:36 Dominique Braschi-Blondeau posted:
Hi !

The hereunder js script doesn't work.
Could anyone explain me why, please ?

<pre id=code><font face=courier size=2 id=code>
&lt;img name="image"&gt;

&lt;script type="text/javascript"&gt;

mon_tableau=[
'lesitedelafetedudemisiecle.chez.tiscali.fr/Rudolf/Images/IM000127.JPG'
]

function imager(tableau)
{
document.image.src=tableau[0]
}

imager(mon_tableau)

&lt;/script&gt;
</font id=code></pre id=code>

Thanx for your help !

Reply to this topic