Fill textbox based on dropdown value mvc php Programming Web Development by Ts91 …Power Consumption: <input type="text" name="powerConsumption" required="" /> <br/> … CHARSET=latin1 AUTO_INCREMENT=3 ; INSERT INTO `appliances` (`AppId`, `Appliance`, `PowerConsumption`) VALUES (1, 'Hairdryer', 1251), (2, 'Microwave', 1251); So … Re: Fill textbox based on dropdown value mvc php Programming Web Development by TexWiller It is javascript programming with jquery $("#textboxID").val( $("#selectID").val())