summaryrefslogtreecommitdiffstats
path: root/app/template-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'app/template-html.lsp')
-rw-r--r--app/template-html.lsp5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/template-html.lsp b/app/template-html.lsp
index 81043b6..ae051d2 100644
--- a/app/template-html.lsp
+++ b/app/template-html.lsp
@@ -28,6 +28,11 @@ end
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="<%= html.html_escape(pageinfo.wwwprefix..pageinfo.skin.."/"..posix.basename(pageinfo.skin).."-ie.css") %>">
<![endif]-->
+<script type="text/javascript" src="<%= html.html_escape(pageinfo.wwwprefix) %>/js/jquery-latest.js"></script>
+<script type="text/javascript">
+ $(function(){
+ $(":input:not(:submit):enabled:not([readonly]):first").focus();
+ });</script>
</head>
<body>