![]() |
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! |
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;"> |
All times are GMT. The time now is 04:09 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|