JQueryFocus

Homepage: http://foswiki.org/Extensions/JQueryPlugin
Author(s): Michael Daum
Version: 1.0.1

This plugin sets the focus on a form input field or textarea of a form when the page is loaded.

Usage

Add the css class jqFocus (or foswikiFocus) to the input field you'd like to focus.

Example

%JQREQUIRE{"focus"}%
<input type="text" class="foswikiInputField jqFocus" size="40" />

<style>
input[type="text"]:focus {
   background-color:#FFFFC0;
   color:black;
}
</style>

creates:

Edit  | Attach | Print version | History: r9 < r8 < r7 < r6 < r5 < r4 < r3 < r2 < r1 | Backlinks | View wiki text | More topic actions
Topic revision: r9 - 18 Nov 2019, UnknownUser
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Silver Dye Photography? Send feedback