如何在侧面更新面板中再次加载jQuery文件 [英] How to load jQuery file again out side update panel

查看:47
本文介绍了如何在侧面更新面板中再次加载jQuery文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的网站上我使用了flexislider。同一页面我还使用了一个包含Repeater Control的更新面板来显示product.within Repeater控件我已经使用linkbutton将数据提交到数据库。但是当点击提交按钮然后滑块不起作用但第一次没问题。



所以我的问题是如何再次使用jQuery文件。

In my website i have used flexislider. Same page i have also used a Update Panel containing Repeater Control to display product.within Repeater control I have taken linkbutton to submit data to database. But when click submit button then Slider does not work but first time is no problem.

So my question how to work jQuery file again .

推荐答案

使用pageload而不是(document).ready来附加你的活动



http://forums.asp.net/t/1982846.aspx?How+to+run+javascript + + updatepanel +执行+完成后 [ ^ ]
Use pageload rather than (document).ready to attach your events

http://forums.asp.net/t/1982846.aspx?How+to+run+javascript+after+updatepanel+execution+completed[^]


这篇关于如何在侧面更新面板中再次加载jQuery文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆