First, I have read through all the submitions in these forums related to my problem and none of the solutions have worked.
With that being said:
I am currently using Javascript to run validation on the submition of a form once a "Save" button is clicked. I would like to disable the button upon it's first click. The problem is that it is a design-time control object, which uses an Image for the button. I can do exactly what I want with a normal design-time control button (one which doesn't use an image). I have tried the solution which increments a variable and if it is greater than 1, then it cancels the event. However, it also cancels the first click event -- not a good thing.
Anyone have a solution that will work for me?
Thanks.
With that being said:
I am currently using Javascript to run validation on the submition of a form once a "Save" button is clicked. I would like to disable the button upon it's first click. The problem is that it is a design-time control object, which uses an Image for the button. I can do exactly what I want with a normal design-time control button (one which doesn't use an image). I have tried the solution which increments a variable and if it is greater than 1, then it cancels the event. However, it also cancels the first click event -- not a good thing.
Anyone have a solution that will work for me?
Thanks.