当前位置: 动力学知识库 > 问答 > 编程问答 >

Jquery SlideToggle() not working properly in iphone

问题描述:

I have the below code implementing SlideToggle of Jquery. It is working all other places except in iphone. In iphone, the element is visible and immediatly getting hidden in a flash

 jQuery('.toggle').click(function (e) {

e.preventDefault();

jQuery('#navigation').slideToggle();

return !1

});

Please help me in this regard.

分享给朋友:
您可能感兴趣的文章:
随机阅读: