0
<embed
 id="test"
 src="http://*.***.**********.com/images/****_*****/********/*************.swf?gsiUrl=www&amp;version=103&amp;quality=low&amp;location=forum"
 width="200"
 height="100"
 allowScriptAccess="always"
 play="true"
 wmode="window"
 loop="true"
 quality="medium"
 flashVars="userEnvironmentId=2962041"
 type="application/x-shockwave-flash"
 class="forum-flash-sigs"
 pluginspage="http://www.macromedia.com/go/getflashplayer">
</embed>

i want to change the value with a button

<input
 type="button"
 class="button"
 value="tank number"
 onclick="load1()"
 id="jtn"/>

<input
 type="button"
 class="button"
 value="tank number"
 onclick="load2()"
 id="jtn"/>


<script type="text/javascript">
function load1() {document.getElementById('test')userEnvironmentId=.value=37656; }

function load2() {document.getElementById('test')userEnvironmentId=.value=311656; }
</script>

i know its not right because i tryed it and many other way i just cant seem to get it right

any AND ALL help is great :$

1
Contributor
1
Reply
2
Views
7 Years
Discussion Span
Last Post by lilamylil
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.