user4818120
user4818120

Reputation:

jquery fade toggle fails in bootstrap site

I am using bootstrap and jQuery on my website. The problem is that when I use fadeToggle() on a div, it's not showing, it is hidden all the time. Can anyone suggest what the problem is or an alternative way to solve it?

Upvotes: 0

Views: 242

Answers (1)

Aneesh R S
Aneesh R S

Reputation: 3827

If you are using bootstrap "hide" class, it will not fadeIn.So if you want to do fadeToggle effect, then remove the hide class from the div and make style="display:none". Or use toggleClass('hide'). Thinks it will solve your problem .

Upvotes: 1

Related Questions