Hello I tried to search something equivalent without success, this is not a php based value where one drop down updates another. its a simpler version but I don't know how to proceed
Basically I have a text field like
<input size="50" name="productname" id="product" type="text" />
<select name="platform">
<?php if($manufacturers) foreach($manufacturers as $each) { ?>
<option value="<?=$each['id']?>"><?=$each[ 'manufacturerName']?></option>
<?php } ?>
</select>
I noticed that in about 90% of my scenario if a manufacturer name is Samsung most of its product will start with S that is the first name of the manufacturer.
In my select I have some manufacturers for example , Samsung, Alcatel, Hitachi, from a database.
In this form I am doing user will be adding new product, for example Samsung S6, as he types Samsung, I wish a jquery will set the selected option to the select list to samsung most probably based on the first matching letter.