Results 1 to 2 of 2
Hybrid View
-
06-06-2005, 09:49 AM #1WHT Addict
- Join Date
- Aug 2003
- Location
- PA
- Posts
- 110
Concerning Javascript and the Param tag
Hello,
Is there a way to dynamically change the value of a param tag?
Say, I have a text field, and a user enters data into it. I know how to alter a few tag's data by using the onchange event, but can I change a param tag i.e.,
PHP Code:<param name="thisParamTag" value="valueToChange">
-
06-06-2005, 03:55 PM #2Living the dream
- Join Date
- May 2005
- Location
- Planet Earth
- Posts
- 813
Yes there is one:
PHP Code:<param id="myid" name="myname" value="myvalue">
<script>
function changeValue() {
document.getElementById('myid').value = "valuechanged";
}
</script>
Regards█ PutFile.io — Disrupting traditional file hosting.
█ Signup Early and enjoy Unlimited space/bandwidth for your files hosting, Forever!
█ No Ads.
█ No Countdowns.