setLinkFocus

For RunBasic 1.0, there is no method to set the focus for a link. The following subroutine will do this using JavaScript:

code format="vb" sub setLinkFocus id$ html " document.getElementById('" + id$ + "').focus " end sub code

This subroutine will set the focus of a link using the RunBasic handle. For example: code format="vb" call setLinkFocus "#logIn" code

David den Haring. [|Simple Computing] Blog