Websites not prompting for saving login credentials : <p>Currently having an issue where websites are not asking to save my credentials. I kept the type="button" because we are calling a function in js. Any ideas as to why it may not be working?</p>

<pre><code>                &lt;form&gt;
                    &lt;div class="card card-default p-4"&gt;
                        &lt;div class="form-group"&gt;
                            &lt;label class="m-0 text-bold"&gt;Username&lt;/label&gt;
                            &lt;input required type="text" class="form-control" placeholder="example@domain.com" data-bind="value: username"&gt;
                        &lt;/div&gt;

                        &lt;div class="form-group"&gt;
                            &lt;label class="m-0 text-bold"&gt;Password&lt;/label&gt;
                            &lt;input required type="password" class="form-control" placeholder="" data-bind="value: password" autocomplete="on"&gt;
                        &lt;/div&gt;

                        &lt;div class="form-group mt-2"&gt;
                            &lt;div class="row"&gt;
                                &lt;div class="col-md-6 col-lg-5"&gt;
                                    &lt;button class="btn btn-block btn-outline-primary m-0" type="button" data-bind="click: signin"&gt;LOGIN&lt;/button&gt;
                                &lt;/div&gt;
                                &lt;div class="col-md-6 col-lg-7 mt-2 mt-md-0 d-flex align-items-center"&gt;
                                    &lt;a class="forgot-password" href="#forgotpassword"&gt;Forgot password?&lt;/a&gt;
                                &lt;/div&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;
                    &lt;/form&gt;
</code></pre>
