Here's how I've done it a few days ago:
<SCRIPT LANGUAGE="Javascript">
function init() {
document.pgMainSearchMenu.tbName.focus();
}
</script>
Add this event to your <head> section in html. Then, write the body tag as follows:
<body OnLoad="init()">
This should work.
[EMAIL PROTECTED] wrote:
>Hello,>I have an HTML page which when it is loaded I would like to set the cursor on
>the
>first field on the page. Does anyone have an example of how I can achieve this?
>
>Thanks in advance,
>-Dan
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]