Thursday, July 1, 2010

TabIndex

It is used to set the focus on the HTML object when user uses tab key. When user pressed tab key then by default it starts from the top, but we want when user press tab key then focus must be given to particular text, buttton, link etc. Then use tabindex property.
< input type="text" id="user" tabindex="1" />

No comments:

Post a Comment