I've created a webmethod based button, however if you click the button
really fast before the page reloads, the webmethod is called as many
times as you click!! This will not do. I've tried disabling the button
onmouseclick, onmousedown, onmouseup, etc. to no avail. all the above
attempts looked something like:

<form ... onmouseclick="this.disabled=true"> <button> ... </button> </
form>

again, none of these worked. Has anyone had any success getting this
to work? I've done a lot of google searching to find a solution, but
found no clean solutions.

I've had an idea for adjusting the permissions to only allow the
webmethod to work based on timestamps... like only allow a click if a
the new timestamp is at least 1 second after the last posted one. This
would be an overly complex solution for a simple problem :(

Please advise!

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to