How to get auto filled values at page load. I have tried to get password field value at window load function. But it returns empty. How and when will i get auto filled value of input field in javascript. Please help me to resolve this.
$(window).load(function () {
if ($(".username").val() !== "" || $(".password").val() !== "") {
alert("test");
}
});
Thanks in advance.