Connecting Tech Pros Worldwide Forums | Help | Site Map

problem with clicking buttons

Michael Chernecki
Guest
 
Posts: n/a
#1: Jul 20 '05
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
Guest
 
Posts: n/a
#2: Jul 20 '05

re: problem with clicking buttons


In article <mchernecki-2508032329210001@slkrmb01bbl-ac04-p48-189.mts.net>,
mchernecki@yahoo.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.
Closed Thread