%tabindex meta-HTML element

Description

At runtime, for each field inside an HTML area that is defined with the %tabindex meta-variable, %tabindex will be replaced with the tab index of the HTML area itself.

This meta-variable is valid for fields inside an HTML area only; if the field is not inside HTML area, then this meta-variable will remain unresolved at runtime.

Note:

This variable is valid for use in auxiliary JavaScript files.

Example

In the following example, two fields have been defined with the %tabindex meta-HTML variable, while one has not:

<a href="http://www.w3schools.com" tabindex="%tabindex">Visit W3Schools.com!</a>
<a id="HELP" name="HELP" href="javascript:some_function1();" tabindex="%tabindex">Help</a>
<a id="NEWWIN" name="NEWWIN" href="javascript:some_function2();">New Window</a>

At runtime, if the tab index for the HTML area is 20, then this HTML fragment resolves to:

<a href="http://www.w3schools.com" tabindex="20">Visit W3Schools.com!</a>
<a id="HELP" name="HELP" href="javascript:some_function1();" tabindex="20">Help</a>
<a id="NEWWIN" name="NEWWIN" href="javascript:some_function2();">New Window</a>