I have a problem with rails javascript and checkboxes. The problem is that when i use a rails javascript helper to use a scriptaculous effect when the onclick event occurs on a checkbox (the effect is a fade in and out to reveal or hidden some other form fields) , if i am fast enough i can click and unclick the checkbox and the previous cicle of the effect is still happening. So if for example i have to make disappear an input field when i click on the checkbox if i'm too fast i can check and uncheck the checkbox and the field only disappear and not re appear.