Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Jan 2004
    Posts
    2
    Member #
    4701
    Hello guys,


    Does anyone knows how to make the button if the first form not active when the page is loaded.

    I use the following CSS:

    .my_button{
    border: 1px solid black;
    }

    When the page with 2 forms is loaded the first submit button is active and has a double border.

    Does anyone knows how to fix this?

    Thanks in advance.

    Best regards,
    Zemnon
    http://zemnon.org.ua

  2.  

  3. #2
    WDF Staff Wired's Avatar
    Join Date
    Apr 2003
    Posts
    7,657
    Member #
    1234
    Liked
    138 times
    Would you like for the form to have the cursor in one of the form entries when first loaded?
    The Rules
    Was another WDF member's post helpful? Click the like button below the post.

    Admin at houseofhelp.com

  4. #3
    Junior Member
    Join Date
    Jan 2004
    Posts
    2
    Member #
    4701
    Hello Wired,


    Thanx for your reply. I trully apriciate it.

    I find solution myself. It's the glitch of the Internet Explorer, because in Opera it works without any changes even after I have resolved the problem in IE.

    The problem was in the following:
    when you in design time create a skeleton of the page and don't use <form></form> tags (only form elements) - the IE make the first element <input type=button... to become as active, but onFocus and onBlur event's not work when the page loaded, so the onFocus="this.blur();" will not work!

    It's a note for all the developers who might have the same problem.

    Best regards,
    Nike
    http://zemnon.org.ua


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 07:40 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com