I have a small thing im trying to achieve in a form (form1)
I need to change a movie (m1.mpg) to m2.mpg using a select option.value within an 'if' statement at the same time changing
a text box from 'text1' to 'text2' can anyone suggest how i do this?
I've made a script where it changed images and text both, but it was by clicking on a thumbnail rather than using an option value, so ymmv. I used document.images['mainImg'] and document.getElementById('desc').innerHTML ... each item listed both URL to the picture (in your case, movie) and text that was to go with it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.