PDA

View Full Version : change class option



lord22
08-23-2009, 10:27 PM
Hi,

I'm using a select-option menu.

<select name="back" id="back" style="width:150px;">
<option>----</option>
<option>number</option>
</select>


Is it possible that when I'll choose number it will change the class of a table I have (called mytable) to a class called number?

Thanks

thenajsays
08-24-2009, 05:45 PM
you could write a function that changes the class name depending on the selection