报告分页后Java脚本不起作用. [英] Java script is not working after report pagination.

查看:201
本文介绍了报告分页后Java脚本不起作用.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

$(document).ready(function(){
SetDXRResetStyleBackground();
});

函数SetDXRResetStyleBackground(){
$(.DXRResetStyle tr").click(function(){
$(.DXRResetStyle tr").css("background-color","#ffffff");
$(this).css("background-color","#aaaaaa");
});
}

我尝试过的事情:

最初,Java脚本正在运行,并且行以颜色为焦点,但是在分页报告之后却不起作用.

$(document).ready(function () {
SetDXRResetStyleBackground();
});

function SetDXRResetStyleBackground() {
$(".DXRResetStyle tr").click(function () {
$(".DXRResetStyle tr").css("background-color", "#ffffff");
$(this).css("background-color", "#aaaaaa");
});
}

What I have tried:

Initaally the java script is working and the row is focused with color but after pagination of report is is not working.

推荐答案

(.DXRResetStyle tr").click( function(){
(".DXRResetStyle tr").click(function () {


(.DXRResetStyle tr").css("background-color","#ffffff");
(".DXRResetStyle tr").css("background-color", "#ffffff");


(this).css("background-color","#aaaaaa");
});
}

我尝试过的事情:

最初,Java脚本可以正常工作,并且行以颜色为焦点,但是在分页后报表无法正常工作.
(this).css("background-color", "#aaaaaa");
});
}

What I have tried:

Initaally the java script is working and the row is focused with color but after pagination of report is is not working.


这篇关于报告分页后Java脚本不起作用.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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