Hi! I have a image and a select field:
<body>
<p><img border="0" src="1.jpg" width="148" height="180"></p>
<form name="form1">
<p><select size="1" name="foto_selec">
<option selected value="1">first</option>
<option value="2">second</option>
<option value="3">third</option>
</select></p>
</form>
<p> </p>
</body>
I want thath when I select second option the image change to 2.jpg and so.
How can I link the image with the selected option ?
After I read a tutorial about javascript, I think I can't do it, but I'm not sure.
Thanks. And Sorry for my bad english.
<body>
<p><img border="0" src="1.jpg" width="148" height="180"></p>
<form name="form1">
<p><select size="1" name="foto_selec">
<option selected value="1">first</option>
<option value="2">second</option>
<option value="3">third</option>
</select></p>
</form>
<p> </p>
</body>
I want thath when I select second option the image change to 2.jpg and so.
How can I link the image with the selected option ?
After I read a tutorial about javascript, I think I can't do it, but I'm not sure.
Thanks. And Sorry for my bad english.