Topic awaiting preservation: Drop down menu (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: |
posted 10-03-2002 20:42
Im using two drop down menus and depending on the value they might get my td with id 1-6 should change pictures (function name=go) i just cant make it work..... i deleted the whole function because it was a mess, heres a link so u can have an idea of what am i talking about. |
Maniac (V) Inmate From: Brisbane, Australia |
posted 10-04-2002 02:55
Huh? |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 10-04-2002 03:00
Well, to change a picture, you need a reference to the picture object (which you can get with document.getElementById()), and then you need to set the picture object's source (src) property to the url of the image. What went wrong? |
Bipolar (III) Inmate From: |
posted 10-04-2002 03:17
i know that hun i just get the right syntax to get the combo boxes values.....help!! |
Bipolar (III) Inmate From: |
posted 10-04-2002 03:19
oups, I just CANT get the rite syntax |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 10-04-2002 03:24
From what I remember, you had that part right... or so I thought... I dunno. What's the specific line of code that's not working? |
Bipolar (III) Inmate From: |
posted 10-04-2002 17:03
I'm not getting any error msgs, but I'm sure is somewhere in the go function : S |