Press the Enter key to point a function to the next position

xiaoxiao2021-03-06  51

Function Tofocus (itemname) // Press Enter the next location

{

Var a

a = evAl ("Document.vouch." itemname)

a.focus ()

}

Use οNKEYPRESS = "JavaScrip: if (Window.Event.KeyCode == 13) {TOFOCUS ('NextFormName')} to extract the next control name

(Source: Developer Club)

转载请注明原文地址:https://www.9cbs.com/read-115552.html

New Post(0)