Basic Form Field questions

Results 1 to 2 of 2

Thread: Basic Form Field questions

  1. #1
    Join Date
    Dec 1969

    Default Basic Form Field questions

    Two relatively easy questions, I think:<BR><BR>1. How do I make the text in a textbox selected when I enter it. In VB there is something like selText. Is there a way to make the text auto-select once I enter the textbox?<BR><BR>2. How do I make the enter-key submit a form even when the focus is on a textbox. Like with a simple registration procedure. You have a login and a pwd textbox and a submit button. At any time when you are filling in the textboxes, you can press enter to submit the form. How does this work??

  2. #2
    Chad LaFarge Guest

    Default RE: Basic Form Field questions

    First answer (javascript):<BR>onfocus=";"<BR>< BR>Second answer... I thought if you weren&#039t in a textarea it DID submit the form.

Posting Permissions

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