My question is to populate textbox data using html & javascript:
I have 2 dropdown
1st dropdown contains Country 2nd dropdown contains Office location
After selecting 2 dropdowns the text box should be filled with respective manager name for that particular office location.
Dropdown 1
<label> Select Country: </label>
<select id="con">
<option>Germany</option>
<option>France</option>
<option>United Kingdom</option>
<select>
Dropdown 2
<label> Select Office location: </label>
<select id="loc">
<option>DE</option>
<option>FR</option>
<option>UK</option>
<select>
<label>ManagerName:</label><input type="text" value="" id="mgrid">
Output:
If Germany & DE selected ManagerName: Alex
If France & FR selected ManagerName: Louis
If United Kingdom & UK selected ManagerName: Michel
Thanks in advance