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.
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
So, what?
thank you) - isabell26 commented on June 3rd 19 at 19:11
June 3rd 19 at 19:10
June 3rd 19 at 19:12
Since the topic is the Jquery tag, here

Find more questions by tags JavaScriptjQuery