skip to Main Content

<input type="text" class="form-control" id="datepickerFrom" placeholder=" " name="From" onchange= "errorCheck()" required>
Need to disable tooltip as shown in attached image (using jquery and bootstrap in my code. tried many ways but not disabling.enter image description here

2

Answers


  1. Add autocomplete="off" to your input

    Login or Signup to reply.
  2. Prevent autocomplete of any field (might not work):

    <input type="text" class="form-control" id="datepickerFrom" placeholder="" name="From" onchange="errorCheck()" autocomplete="nope" required />
    

    Explanation:

    autocomplete still works on an despite having
    autocomplete="off", but you can change off to a random string, like
    nope.

    Here you can set readonly attribute to input because you are using datepicker so no need to give input via keyboard.

    <input type="text" class="form-control" id="datepickerFrom" placeholder="" name="From" onchange="errorCheck()" readonly required />
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search