PDA

View Full Version : what am I doing wrong?


cnyniceguy
07-28-2003, 02:41 AM
I am trying to get an image when you click on my drop down box.
here is the script:
<Form name="jump1>
<SELECT name="my jumpbox">
<onchange="location.href=jump.myjumpbox.options>
<option selected>choose make...
<option value="img src=95 aerostar.jpg>ford aerostar

do I need "img src=mydocuments/mypictures/95aerostar.jpg?

Ok I admit i'm not the sharpest crayon in the box but this is driving me nuts!!!

ACJavascript
07-28-2003, 04:14 PM
Try this


<Form name="jump1">
<SELECT name="myJumpbox" onchange="location.href=jump1.myJumpbox.options>
<option selected>choose make...
<option value="img src=95aerostar.jpg>ford aerostar
</select>
</form>