problem with clicking buttons

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Michael Chernecki

    problem with clicking buttons

    Hi,
    Not sure if I am posting to the proper group. I have some buttons on an
    HTML form. When I click a button, it just gives the button focus. Then I
    need to click again for the onClick actions to take place. How do I get
    the buttons to work on the fist clck, rather two click or double click. I
    have set tab order and have used xxx.focus() to give the first field on
    the form fuoc after the form loads. can this be screwing the buttons up.
    Any help would be appreciated.

    Thanks
    Mike
  • HikksNotAtHome

    #2
    Re: problem with clicking buttons

    In article <mchernecki-250803232921000 1@slkrmb01bbl-ac04-p48-189.mts.net>,
    mchernecki@yaho o.com (Michael Chernecki) writes:
    [color=blue]
    >Hi,
    >Not sure if I am posting to the proper group. I have some buttons on an
    >HTML form. When I click a button, it just gives the button focus. Then I
    >need to click again for the onClick actions to take place. How do I get
    >the buttons to work on the fist clck, rather two click or double click. I
    >have set tab order and have used xxx.focus() to give the first field on
    >the form fuoc after the form loads. can this be screwing the buttons up.
    >Any help would be appreciated.
    >
    >Thanks
    >Mike[/color]

    Can you post a short snippet of code that is the minimum needed to show the
    behavior you are describing? Something is wrong if you are having to click
    twice to fire an onclick handler. It could be something as simple as something
    else in the page, or maybe not. But without seeing sample code, its impossible
    to tell.
    --
    Randy
    All code posted is dependent upon the viewing browser
    supporting the methods called, and Javascript being enabled.

    Comment

    Working...