The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
JS select onChange
Hello!
I have a <select> form. the first option is: -------, which is the deafult, i want that when someone changes the option from that one to another one, then another textarea is visible. How can i do it? Thanks! |
#2
|
||||
|
||||
HTML Code:
<select onchange="fetch_object('id_of_object').style.display = this.value == '-------' ? 'none' : 'block';">
HTML Code:
<div id="id_of_object" style="display: none;"> <!-- content here //--> </div> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|