javascript code: window.onload = document.myformname.myforminput.focus();
where myformname is the name="" of the form tag and myforminput is the id (i think, it may be name="") of the form element you want to focus to. On 4/12/06, David Elliott <[EMAIL PROTECTED]> wrote: > Hi all, > > just an easy question probably, I wrote my first two > pages yesterday and need to add something else to > them. Unfortunately, I don't have my 'book' with me > but I would like the cursor to appear inside this one > and only text box when the page opens up. > > I guess VBA & access has spoiled me some.... > > Any help greatly appreciated, > > Dave > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237548 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

