As value in the select, find the same text in the selector and add the selector class?

dynamically add option to select file in .text.
https://jsfiddle.net/Svupol/rk8q3zpn/19/
like when you select to select, do a search for content .text. and after finding the add class?
June 3rd 19 at 19:06
3 answers
June 3rd 19 at 19:08
Solution
So, what?
thank you) - isabell26 commented on June 3rd 19 at 19:11
June 3rd 19 at 19:10
Solution
June 3rd 19 at 19:12
Solution
Since the topic is the Jquery tag, here
https://jsfiddle.net/rk8q3zpn/37/

Find more questions by tags JavaScriptjQuery