add focus on login page load
This commit is contained in:
parent
bdb0fc4906
commit
34d389cf6e
@ -7,3 +7,12 @@
|
|||||||
<form method="post">
|
<form method="post">
|
||||||
<input type="password" name="passphrase" placeholder="Passphrase" />
|
<input type="password" name="passphrase" placeholder="Passphrase" />
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
@section scripts {
|
||||||
|
|
||||||
|
<script>
|
||||||
|
$(function () {
|
||||||
|
$('input[name=passphrase]').focus();
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
}
|
||||||
|
@ -14,6 +14,8 @@
|
|||||||
<script src="~/lib/jquery/dist/jquery.min.js"></script>
|
<script src="~/lib/jquery/dist/jquery.min.js"></script>
|
||||||
<script src="~/lib/signalr/dist/browser/signalr.min.js"></script>
|
<script src="~/lib/signalr/dist/browser/signalr.min.js"></script>
|
||||||
<script src="~/js/site.js" asp-append-version="true"></script>
|
<script src="~/js/site.js" asp-append-version="true"></script>
|
||||||
|
|
||||||
|
@RenderSection("scripts", false)
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user