i've been using the onClick handler but that runs the function every time the checkbox is checked.
i have a checkbox that is initially checked, and if the user unchecks it i want to run a function, but if they check it again, i don't want to run the function.
in other words, i ONLY want to run the function when the box is UNCHECKED.
thanks.
i have a checkbox that is initially checked, and if the user unchecks it i want to run a function, but if they check it again, i don't want to run the function.
in other words, i ONLY want to run the function when the box is UNCHECKED.
thanks.
Comment