Hey guys. I’ve got a dropdown box which I want to have change the text inside a table cell. If the user selects “Jan.26”, for example, I’d like to have “Jan.26” appear in a table cell. (Can’t use the value parameter as it’s a web address that’s used for something else..) I would like to do something like:
[code=php]
<form name=”form1″>
<select id = “select” onChange = “otherfunction() document.all(“td1″).innerText = document.form1.select.text.value ;”>
<option value=”C:WebpageNewmar26.html”>Mar.26</option>
<option value=…..>
etc.
</select>
</form>
However that doesn’t work – not sure what I’m doing wrong. Tried giving the td both a name and ID and that didn’t seem to change anything. I also don’t know how to obtain the value that’s selected, so 2 problems I guess.
Thanks in advance for any insight!