回发后消失div?

编程入门 行业动态 更新时间:2024-10-27 20:31:36
本文介绍了回发后消失div?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

通过点击以下链接显示使用jquery的面板

Hi, show a panel using the jquery by click the below link

<a class="flip1" href="#" title="Comment" style="color:#CEF"><img src="/image/history-button.gif"/></a>

jquery如下,

the jquery as below,

$(document).ready(function () { $(".flip1").click(function () { $("#panel").slideToggle("slow"); }); });

点击更新面板内的其他按钮后,我的问题就消失了。 如何避免这种情况? 已添加代码块[/ Edit]

My problem is disappear the div when click other button inside a update panel. how to avoid this? Code block added[/Edit]

推荐答案

(document).ready(function() { (document).ready(function () {

( 。flip1)。click(function(){ (".flip1").click(function () {

( #panel)。slideToggle( slow); }); }); ("#panel").slideToggle("slow"); }); });

点击更新面板内的其他按钮后,我的问题就消失了。 如何避免这种情况? 代码块添加[/编辑]

My problem is disappear the div when click other button inside a update panel. how to avoid this? Code block added[/Edit]

更多推荐

回发后消失div?

本文发布于:2023-10-12 20:44:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1485847.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:回发后   div

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!