Jump to content

Help with focus input box pls


Recommended Posts

How could i put auto focus straight on input box?? Can't find it out

<form id=''form1''>
    <label for="form.text">Numéro de téléphone&nbsp;:</label>
    <div >
        <input id="formtext" name="text" type="text" value="" maxlength="50"/>
    </div>
</form>

 

  
  
Link to comment
Share on other sites

could you give me exemple with my form, bcs i tried and i cannot get focus work on the input name text. It's on a website my browser is google chrome

 

<form id=''form1''>
    <label for="form.text">Numéro de téléphone&nbsp;:</label>
    <div >
        <input id="formtext" name="text" type="text" value="" maxlength="50"/>
    </div>
</form>

Link to comment
Share on other sites

no way i can get the focus work, even with IE UDF. Everything else is fine, but it doesnt focus on the  inputbox, Could you show me a fonctionnal exemple with code posted earlier please?

Link to comment
Share on other sites

  • Moderators

You share all of 6 lines of HTML from the webpage, but want a functional example of code? How about:

  • Posting your code, so we can see the "everything else is fine" bits.
  • Posting at least the web page so we can see what you're seeing.
  • Posting a screenshot if you can't do either of the above.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...