Ramco Ramco

Ramco Ramco

  • 439
  • 3.4k
  • 544.9k

Focus on first input field

Jun 11 2021 12:17 PM

Hi

  How to set focus on first input field without Javacript when Modal Popup opens

<div class="form-group row">
                                    <label class="control-label col-sm-3" for="Id">Id</label>
                                    <div class="col-sm-9">
                                        <input type="text" class="form-control form-control-sm"  id="txtId" name="Id" placeholder="Id">
                                    </div>
                                </div>

Thanks


Answers (2)