I am using Bootstrap 4 and want to change background color of an input field by clicking button.
here is my code:
<div class="form-group row"> <label for="staticEmail" class="col-sm-2 col-form-label">Dein Ersparniss / Jahr</label> <div class="col-sm-10"> <input type="text" class="form-control" name="txtres" readonly> </div> </div> here is button:
<input type="button" class="btn btn-danger" value="Berechnen" onClick="sumValues()"> Can someone help me with jQuery?