Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

changing an embeded movie 1

Status
Not open for further replies.

rosie3705

Technical User
Jul 28, 2007
6
GB
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.

Windows Cloud Servers:
Windows Reseller Hosting:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top