call the same jQuery function in multiple buttons

后端 未结 10 2167
星月不相逢
星月不相逢 2020-12-01 11:12

I am not really familiar with jQuery. I have this code that I downloaded to create a fade in/fade out popup form. Here\'s the code:



        
10条回答
  •  鱼传尺愫
    2020-12-01 11:42

    If you use same buttonid for all button then there is no need to call all buttons..just simply use this code..It seems that you are using animation in this code....well use togglefade instead of reveal

提交回复
热议问题