on Focus

Results 1 to 2 of 2

Thread: on Focus

  1. #1
    Join Date
    Dec 1969

    Default on Focus

    I know this is really a client side thing but is there a way in asp so that when a page is loaded with a form that the cursur is in the text box so that they can type straight away without clicking on the box. Thanks<BR>Sarah

  2. #2
    Join Date
    Dec 1969

    Default RE: on Focus

    &#060;script language="javascript"&#062;<BR>document.theform.th efield.focus();<BR>&#060;/script&#062;<BR><BR>put this just after the &#060;/form&#062; tag on your page (obviously use the name of your form and your field)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts