Lee,
If you want I created a bit of code you can use. It disables a button after
it's clicked once; but it only disables it after first using .Net's built in
javascripts to make certain that a button doesn't get disabled if a page
isn't valid client side.
If you disable a button on it's first click and the and the page isn't
valid, well, then the user will never be able to submit the page again will
they?
I've placed the script in a javascript component I've built. It's free and
the entire project (v1.1) is available for download from my website,
www.aboutfortunate.com. Just click the "Code Library" link in the top right
and then click the "Javascript" button in the menu on the left. (There are
some other scripts and objects available and everything on the site is free
for the taking and includes all source code.)
--
Sincerely,
S. Justin Gengo, MCP
Web Developer / Programmer
Free code library at:
www.aboutfortunate.com
"Out of chaos comes order."
Nietzche
"Lee" <na********@hotmail.com> wrote in message
news:6c**************************@posting.google.c om...
Hi,I'm trying to have a button that fires a click event only once.
What is the best way to do so that after the first button click, any
the following clicks will be ignored.