html - Link to activate form field -


how can make form label activate (focus) form field coincides with?

use for attribute on label. references id attribute of form input/field want focus.

eg. <input type="text" id="txt1" /><label for="txt1">text 1</label>


Comments

Popular posts from this blog

php - How can I merge Nodes & Webform Submissions into instances of one general Content Type in Drupal 6? -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -

xslt - Umbraco and EXSLT sets do not work -