HTML/ASP question

Results 1 to 3 of 3

Thread: HTML/ASP question

  1. #1
    kulbu Guest

    Default HTML/ASP question

    I have an ASP form and would like to know if I could use a method to set the focus (cursor) on the first field when the form comes up.<BR><BR>Thanks

  2. #2
    Join Date
    Dec 1969

    Default RE: HTML/ASP question

    Use javascript. Make a function in Javascript and put a onload in the body. When the page loads it calls the javascript function sending the focus to where you want it.

  3. #3
    Join Date
    Dec 1969

    Default Try this...

    &#060;SCRIPT language=JavaScript&#062;document.frmSubmit.txtUSE RNAME.focus();&#060;/SCRIPT&#062;<BR><BR>&#039; Put this right before the &#060;/BODY&#062; tag.

Posting Permissions

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