jqFocus
(or foswikiFocus
) to the input field you'd like to focus.
%JQREQUIRE{"focus"}% <input type="text" class="foswikiInputField jqFocus" size="40" /> <style> input[type="text"]:focus { background-color:#FFFFC0; color:black; } </style>creates: