CSS,jquery在ajax调用后无法正常工作 [英] CSS,jquery not working after ajax call
本文介绍了CSS,jquery在ajax调用后无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
我使用jquery代码和ajax调用的分页。当我点击第2页的分页时,一些ajax调用命中,但我的CSS和jquery弹出窗口无法正常工作。请分享您对此的看法。
谢谢
Hi
I've pagination that is using jquery code and ajax calls. When I'm clicking on page 2 on pagination then some ajax call hit but my CSS and jquery popups not working. Please share your view bout this.
Thanks
推荐答案
而不是使用document.ready() :
Instead of using document.ready() use:
<script type="text/javascript">
( window )。load( function (){
popup.showStyle();
indicator.tooltipMessage();
(window).load(function () { popup.showStyle(); indicator.tooltipMessage();
( 。btn_approve)。click( function (e){
e.preventDefault ();
var
(".btn_approve").click(function (e) { e.preventDefault(); var
这篇关于CSS,jquery在ajax调用后无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文