Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript jQuery fadeIn text, delay, and fadeOut text bug

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #44890

    Okay, so everything works the way I want it, but when you first click the button, there is no fadeIn effect to the “there is no password!” text, but there is a fadeOut, and delay effect. But, if you click the button a second time, there is a fadeIn effect to the “there is no password!” text. I don’t know why there’s no fadeIn effect when you first click the button.

    http://jsfiddle.net/c9BZB/

    #135656
    TheDoc
    Member

    Because it’s technically already showing. It needs to have `display: none;` on page load: http://jsfiddle.net/c9BZB/1/

    Having said that, it’s probably not a very good idea to remove an error message after a certain period of time.

    #135660

    Thanks guys, I see my error.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.