This is my code to implement sign in feature
$("#log").click(function () {
var login = $("#Uname").val();
var password = $("#Pass").val();
$("#loginFrame").contents().find("#Username").val(login.toString());
$("#loginFrame").contents().find("#PasswordValue").val(password.toString);
$("#loginFrame").contents().find("#submit-signin-local").click();
This is my sign in html code where I am using iframe to set the fileds
<iframe id="loginFrame" src="/SignIn?returnUrl=%2F" style="width:0px;height:0px;color: transparent;border:0px"></iframe>
<form id="login">
<label><b>UserName      </b></label>
<input type="text" name="Uname" id="Uname" style="color:black">
<br><br>
<label><b>Password      </b></label>
<input type="Password" name="Pass" id="Pass" style="color:black">
<br><br>
<br><br>
<center><button id="log">Sign in</button></center>
</form>
Issue is Could not set the Values in sign in page