I'm trying to get jQuery to get the value of a selected option in a html form and scan that selected value if it contains one of the predefined (sets of) words.
if it does, that words must be entered as value in the next text field.
Predefined set of words: 'New York', 'LA', 'London'
<option>School of New York</option>
<option>School of LA</option>
<option>School of Business</option>
<option selected>School of London</option>
next field: input type="text" >> value='London'
Is this possible??