AnnIsabelle
Programmer
Hi,
I'm making a form with a button on it. The button has an onClick-event that calls a function. After the first time the user has clicked the button,I want to disable it. This way the user can only click once. I need this because the function I call checks the answer given by the user and, if correct, increases a score. Now the user can click an indefinite number of times and augment the score.
Thanks,
AnnIsabelle
I'm making a form with a button on it. The button has an onClick-event that calls a function. After the first time the user has clicked the button,I want to disable it. This way the user can only click once. I need this because the function I call checks the answer given by the user and, if correct, increases a score. Now the user can click an indefinite number of times and augment the score.
Thanks,
AnnIsabelle