E
E
Evgeny Zhurov2017-04-05 17:19:26
css
Evgeny Zhurov, 2017-04-05 17:19:26

How to get select value changed in real time?

Hello. There is such a design:

<select>
    <option>Раз</option>
    <option>Два</option>
    <option>Три</option>
    <option>Другое</option>
</select>
<input type="text" placeholder="Укажите это самое другое">


The CSS input is set to display: none. What code should I write in jQuery so that when the user selects the "other" item, this input is assigned display: block?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
ink, 2018-03-12
@AskMy

lokeshdhakar.com/projects/lightbox2

T
teotlu, 2017-04-05
@Zhuroff

https://jsfiddle.net/b9g4yoew/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question