dazza12345
Programmer
Hi all, just a quick question.
Does any1 know how I could alter the content of my web page depending on the value entered into a combo box? I have been told that there is asimple javascript solution to this problem.
Here is my combo box, what i want to happen is alter the rest of the html form below this combo box straight away once the value has been clicked in the combo box.
<select class=g4 NAME="bonustype" style='width:180'>
<option VALUE="Any">
<option VALUE="signon">Sign-on bonus
<option VALUE="refer">Refer a friend bonus bonus
</select>
i have been told to try to use javascript 'this.value' and 'document.innerHTML'.
any clues on how this could be achieved?
Does any1 know how I could alter the content of my web page depending on the value entered into a combo box? I have been told that there is asimple javascript solution to this problem.
Here is my combo box, what i want to happen is alter the rest of the html form below this combo box straight away once the value has been clicked in the combo box.
<select class=g4 NAME="bonustype" style='width:180'>
<option VALUE="Any">
<option VALUE="signon">Sign-on bonus
<option VALUE="refer">Refer a friend bonus bonus
</select>
i have been told to try to use javascript 'this.value' and 'document.innerHTML'.
any clues on how this could be achieved?