If the TAB key was disabled this would leave all the other keys active. I hope. At the same time if the mouse was disabled on this page I assume that it would become active when other pages are loaded.
The reason why I am looking to do this is force the user to press the enter key. This is the first page of an intranet.
Location: Los Angeles, CA Original Location: Philippines
Posts: 10,241
Thanks: 0
Thanked 112 Times in 111 Posts
Sorry for asking too much but why do you want to force the user to press the Enter key? Is it a workaround for the *real* problem? If you explain what you really want, maybe there's a better solution to it.
Yes this is a work around. I have at the moment a parent window that produces a popup and at the same time tries to close the parent. As you know this will produce the "Nag" that the window is being closed. As you also know it gives the option "Yes" or "No" If the "No button is clicked or the tab key used with enter the window will remain open. I am trying to force the user to press enter to close the window leaving the child window open. The child window is chromless and the right mouse button is diabled.
Thanks for pointing me in the right diorection. It sorted my problem to a certain degree but for you info that code will work but only on the second access to the page. After a cold boot the "Nag" will appear.