<form action="@Url.Content("~/Account/LogOn/")" method="post" id="login_form"> <input type="text" id="username" name="username" placeholder="Username" value=""/> <input type="password" id="password" name="password" placeholder="Password" value=""/> <button id="btnLogin" class="btn btn-inverse pull-right" type="submit" onclick="OpenPage()" >Sign In</button> </form>
function OpenPage() { $('body').empty().load('../../../Content/LoaderHtml/loader.html'); return false; }
onclick="return OpenPage()"
return true;
onclick="OpenPage();return false;"
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)