diff --git a/src/main/java/com/nis/web/controller/configuration/maintenance/DnsIpCfgController.java b/src/main/java/com/nis/web/controller/configuration/maintenance/DnsIpCfgController.java index 1e27a9f50..331d08418 100644 --- a/src/main/java/com/nis/web/controller/configuration/maintenance/DnsIpCfgController.java +++ b/src/main/java/com/nis/web/controller/configuration/maintenance/DnsIpCfgController.java @@ -38,7 +38,7 @@ public class DnsIpCfgController extends BaseController { ,RedirectAttributes redirectAttributes){ Page page = dnsIpCfgService.findPage(new Page(request, response,"r"), entity); model.addAttribute("page", page); - initPageCondition(model); + initPageCondition(model,entity); return "/cfg/dnsIpCfgList"; } @RequestMapping(value = {"/form"}) diff --git a/src/main/java/com/nis/web/controller/configuration/maintenance/DnsResStrategyController.java b/src/main/java/com/nis/web/controller/configuration/maintenance/DnsResStrategyController.java index 4e45f7c12..de7f9deed 100644 --- a/src/main/java/com/nis/web/controller/configuration/maintenance/DnsResStrategyController.java +++ b/src/main/java/com/nis/web/controller/configuration/maintenance/DnsResStrategyController.java @@ -89,7 +89,7 @@ public class DnsResStrategyController extends BaseController { //查询时left join policyGroup Page page = dnsResStrategyService.findPage(new Page(request, response,"r"), entity); model.addAttribute("page", page); - initPageCondition(model); + initPageCondition(model,entity); return "/cfg/maintenance/dnsResStrategy/list"; } diff --git a/src/main/java/com/nis/web/controller/configuration/maintenance/IpMultiplexPoolCfgController.java b/src/main/java/com/nis/web/controller/configuration/maintenance/IpMultiplexPoolCfgController.java index 4a20956ed..735e5e833 100644 --- a/src/main/java/com/nis/web/controller/configuration/maintenance/IpMultiplexPoolCfgController.java +++ b/src/main/java/com/nis/web/controller/configuration/maintenance/IpMultiplexPoolCfgController.java @@ -76,7 +76,7 @@ public class IpMultiplexPoolCfgController extends BaseController { //查询时left join policyGroup Page page = ipMultiplexPoolCfgService.findPage(new Page(request, response,"r"), entity); model.addAttribute("page", page); - initPageCondition(model); + initPageCondition(model,entity); return "/cfg/maintenance/ipMultiplexPool/list"; } diff --git a/src/main/java/com/nis/web/controller/configuration/manipulation/DdosCfgController.java b/src/main/java/com/nis/web/controller/configuration/manipulation/DdosCfgController.java index 2437f7b38..ade797550 100644 --- a/src/main/java/com/nis/web/controller/configuration/manipulation/DdosCfgController.java +++ b/src/main/java/com/nis/web/controller/configuration/manipulation/DdosCfgController.java @@ -34,7 +34,7 @@ public class DdosCfgController extends BaseController { public String list(Model model,HttpServletRequest request,HttpServletResponse response,@ModelAttribute("cfg")DdosIpCfg entity){ Page page = ddosCfgService.findPage(new Page(request, response,"r"), entity); model.addAttribute("page", page); - initPageCondition(model); + initPageCondition(model,entity); return "/cfg/ddosIpCfgList"; } @RequestMapping(value = {"/form"}) diff --git a/src/main/java/com/nis/web/controller/configuration/ntc/AsnPolicyCfgController.java b/src/main/java/com/nis/web/controller/configuration/ntc/AsnPolicyCfgController.java index 4ae935ff5..7e34dec44 100644 --- a/src/main/java/com/nis/web/controller/configuration/ntc/AsnPolicyCfgController.java +++ b/src/main/java/com/nis/web/controller/configuration/ntc/AsnPolicyCfgController.java @@ -28,7 +28,7 @@ public class AsnPolicyCfgController extends BaseController { ,RedirectAttributes redirectAttributes){ Page page = asnPolicyCfgService.findPage(new Page(request, response,"r"), entity); model.addAttribute("page", page); - initPageCondition(model); + initPageCondition(model,entity); return "/cfg/asnPolicyCfgList"; } @RequestMapping(value = {"/form"}) diff --git a/src/main/java/com/nis/web/controller/configuration/proxy/PxyObjKeyringController.java b/src/main/java/com/nis/web/controller/configuration/proxy/PxyObjKeyringController.java index 6ebeb7d02..9fc8da615 100644 --- a/src/main/java/com/nis/web/controller/configuration/proxy/PxyObjKeyringController.java +++ b/src/main/java/com/nis/web/controller/configuration/proxy/PxyObjKeyringController.java @@ -163,7 +163,7 @@ public class PxyObjKeyringController extends BaseController { //查询时left join policyGroup Page page = pxyObjKeyringService.findPage(new Page(request, response,"r"), entity); model.addAttribute("page", page); - initPageCondition(model); + initPageCondition(model,entity); return "/cfg/intercept/strateagy/list"; } diff --git a/src/main/webapp/WEB-INF/views/cfg/app/appPolicyCfgList.jsp b/src/main/webapp/WEB-INF/views/cfg/app/appPolicyCfgList.jsp index aea0b405d..4150fc6de 100644 --- a/src/main/webapp/WEB-INF/views/cfg/app/appPolicyCfgList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/app/appPolicyCfgList.jsp @@ -146,11 +146,20 @@ + +
+ + + + + + +
diff --git a/src/main/webapp/WEB-INF/views/cfg/asnPolicyCfgList.jsp b/src/main/webapp/WEB-INF/views/cfg/asnPolicyCfgList.jsp index 64e04188e..90cf18e20 100644 --- a/src/main/webapp/WEB-INF/views/cfg/asnPolicyCfgList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/asnPolicyCfgList.jsp @@ -136,11 +136,20 @@ --%> + +
+ + + + + + +
diff --git a/src/main/webapp/WEB-INF/views/cfg/basicprotocol/list.jsp b/src/main/webapp/WEB-INF/views/cfg/basicprotocol/list.jsp index 74a033bb1..5ab1b4b8f 100644 --- a/src/main/webapp/WEB-INF/views/cfg/basicprotocol/list.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/basicprotocol/list.jsp @@ -149,13 +149,21 @@ + - +
+ + + + + + +
diff --git a/src/main/webapp/WEB-INF/views/cfg/common/domainList.jsp b/src/main/webapp/WEB-INF/views/cfg/common/domainList.jsp index 5628d668c..e5dcf9850 100644 --- a/src/main/webapp/WEB-INF/views/cfg/common/domainList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/common/domainList.jsp @@ -101,12 +101,20 @@ +
- +
+ + + + + + +
diff --git a/src/main/webapp/WEB-INF/views/cfg/common/ipList.jsp b/src/main/webapp/WEB-INF/views/cfg/common/ipList.jsp index f7bbdef28..00d4afcf9 100644 --- a/src/main/webapp/WEB-INF/views/cfg/common/ipList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/common/ipList.jsp @@ -159,12 +159,20 @@ - - -
- - - + + + + + + +
+ + + + + + +
diff --git a/src/main/webapp/WEB-INF/views/cfg/complexCfgList.jsp b/src/main/webapp/WEB-INF/views/cfg/complexCfgList.jsp index 3b6eea6a1..c1e039950 100644 --- a/src/main/webapp/WEB-INF/views/cfg/complexCfgList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/complexCfgList.jsp @@ -103,11 +103,20 @@ +
+
+ + + + + + +
diff --git a/src/main/webapp/WEB-INF/views/cfg/ddosIpCfgList.jsp b/src/main/webapp/WEB-INF/views/cfg/ddosIpCfgList.jsp index c83aafc7e..60fef2c07 100644 --- a/src/main/webapp/WEB-INF/views/cfg/ddosIpCfgList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/ddosIpCfgList.jsp @@ -110,11 +110,20 @@ + +
+ + + + + + +
diff --git a/src/main/webapp/WEB-INF/views/cfg/dnsIpCfgList.jsp b/src/main/webapp/WEB-INF/views/cfg/dnsIpCfgList.jsp index d21ddced7..41bd359f0 100644 --- a/src/main/webapp/WEB-INF/views/cfg/dnsIpCfgList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/dnsIpCfgList.jsp @@ -104,11 +104,20 @@ <%-- --%> + +
+ + + + + + +
diff --git a/src/main/webapp/WEB-INF/views/cfg/encryptedtunnelbehav/list.jsp b/src/main/webapp/WEB-INF/views/cfg/encryptedtunnelbehav/list.jsp index 93efd85f5..320a4db4d 100644 --- a/src/main/webapp/WEB-INF/views/cfg/encryptedtunnelbehav/list.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/encryptedtunnelbehav/list.jsp @@ -150,12 +150,20 @@ + - +
+ + + + + + +
diff --git a/src/main/webapp/WEB-INF/views/cfg/fileTransfer/fileDigestList.jsp b/src/main/webapp/WEB-INF/views/cfg/fileTransfer/fileDigestList.jsp index e0f0911a9..0bb068168 100644 --- a/src/main/webapp/WEB-INF/views/cfg/fileTransfer/fileDigestList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/fileTransfer/fileDigestList.jsp @@ -135,12 +135,20 @@ +
- +
+ + + + + + +
diff --git a/src/main/webapp/WEB-INF/views/cfg/fileTransfer/ftpList.jsp b/src/main/webapp/WEB-INF/views/cfg/fileTransfer/ftpList.jsp index 6173b9e12..4065b54ec 100644 --- a/src/main/webapp/WEB-INF/views/cfg/fileTransfer/ftpList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/fileTransfer/ftpList.jsp @@ -141,12 +141,20 @@ --%> +
- +
+ + + + + + +
diff --git a/src/main/webapp/WEB-INF/views/cfg/fileTransfer/p2pList.jsp b/src/main/webapp/WEB-INF/views/cfg/fileTransfer/p2pList.jsp index c3d109a3e..58923378b 100644 --- a/src/main/webapp/WEB-INF/views/cfg/fileTransfer/p2pList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/fileTransfer/p2pList.jsp @@ -132,12 +132,20 @@ +
- +
+ + + + + + +
diff --git a/src/main/webapp/WEB-INF/views/cfg/intercept/interceptList.jsp b/src/main/webapp/WEB-INF/views/cfg/intercept/interceptList.jsp index d861f23a4..ca78203b3 100644 --- a/src/main/webapp/WEB-INF/views/cfg/intercept/interceptList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/intercept/interceptList.jsp @@ -143,11 +143,20 @@ --%> +
+
+ + + + + + +
diff --git a/src/main/webapp/WEB-INF/views/cfg/intercept/strateagy/list.jsp b/src/main/webapp/WEB-INF/views/cfg/intercept/strateagy/list.jsp index 1bb5efaa2..35a3a28c0 100644 --- a/src/main/webapp/WEB-INF/views/cfg/intercept/strateagy/list.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/intercept/strateagy/list.jsp @@ -85,12 +85,20 @@ + - +
+ + + + + + +
diff --git a/src/main/webapp/WEB-INF/views/cfg/ipCfgList.jsp b/src/main/webapp/WEB-INF/views/cfg/ipCfgList.jsp index 6efdd9639..5da1f5c12 100644 --- a/src/main/webapp/WEB-INF/views/cfg/ipCfgList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/ipCfgList.jsp @@ -100,11 +100,20 @@ - - -
- - + + + + + + +
+ + + + + + +
diff --git a/src/main/webapp/WEB-INF/views/cfg/ipaddr/ipList.jsp b/src/main/webapp/WEB-INF/views/cfg/ipaddr/ipList.jsp index 96286277c..5cfeb9b5f 100644 --- a/src/main/webapp/WEB-INF/views/cfg/ipaddr/ipList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/ipaddr/ipList.jsp @@ -132,12 +132,20 @@ + - +
+ + + + + + +
diff --git a/src/main/webapp/WEB-INF/views/cfg/mail/mailList.jsp b/src/main/webapp/WEB-INF/views/cfg/mail/mailList.jsp index 99adf4f17..e86d65e15 100644 --- a/src/main/webapp/WEB-INF/views/cfg/mail/mailList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/mail/mailList.jsp @@ -137,11 +137,20 @@ --%> +
+
+ + + + + + +
diff --git a/src/main/webapp/WEB-INF/views/cfg/maintenance/dnsResStrategy/list.jsp b/src/main/webapp/WEB-INF/views/cfg/maintenance/dnsResStrategy/list.jsp index febb17ae1..5211daa16 100644 --- a/src/main/webapp/WEB-INF/views/cfg/maintenance/dnsResStrategy/list.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/maintenance/dnsResStrategy/list.jsp @@ -89,11 +89,20 @@ + +
+ + + + + + +
diff --git a/src/main/webapp/WEB-INF/views/cfg/maintenance/ipMultiplexPool/list.jsp b/src/main/webapp/WEB-INF/views/cfg/maintenance/ipMultiplexPool/list.jsp index 34111db6e..e011e43e5 100644 --- a/src/main/webapp/WEB-INF/views/cfg/maintenance/ipMultiplexPool/list.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/maintenance/ipMultiplexPool/list.jsp @@ -90,11 +90,20 @@ + +
+ + + + + + +
diff --git a/src/main/webapp/WEB-INF/views/cfg/multipleCfgList.jsp b/src/main/webapp/WEB-INF/views/cfg/multipleCfgList.jsp index 5ad894e0a..dd23dee2a 100644 --- a/src/main/webapp/WEB-INF/views/cfg/multipleCfgList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/multipleCfgList.jsp @@ -142,10 +142,20 @@ - - - - + + + + + + +
+ + + + + + +
diff --git a/src/main/webapp/WEB-INF/views/cfg/other/bgpList.jsp b/src/main/webapp/WEB-INF/views/cfg/other/bgpList.jsp index 1845c431f..d61b7ef92 100644 --- a/src/main/webapp/WEB-INF/views/cfg/other/bgpList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/other/bgpList.jsp @@ -138,11 +138,20 @@ --%> +
+
+ + + + + + +
diff --git a/src/main/webapp/WEB-INF/views/cfg/other/xmppList.jsp b/src/main/webapp/WEB-INF/views/cfg/other/xmppList.jsp index 92ffaae9c..16d3e5116 100644 --- a/src/main/webapp/WEB-INF/views/cfg/other/xmppList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/other/xmppList.jsp @@ -138,11 +138,20 @@ --%> + +
+ + + + + + +
diff --git a/src/main/webapp/WEB-INF/views/cfg/proxy/control/httpRedirectList.jsp b/src/main/webapp/WEB-INF/views/cfg/proxy/control/httpRedirectList.jsp index 21b3bb1d8..99fbdd0c6 100644 --- a/src/main/webapp/WEB-INF/views/cfg/proxy/control/httpRedirectList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/proxy/control/httpRedirectList.jsp @@ -326,12 +326,20 @@ --%> + - +
+ + + + + + +
diff --git a/src/main/webapp/WEB-INF/views/cfg/proxy/control/httpReqReplaceList.jsp b/src/main/webapp/WEB-INF/views/cfg/proxy/control/httpReqReplaceList.jsp index 18414d12c..7220b04ef 100644 --- a/src/main/webapp/WEB-INF/views/cfg/proxy/control/httpReqReplaceList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/proxy/control/httpReqReplaceList.jsp @@ -86,11 +86,20 @@ +
+
+ + + + + + +
diff --git a/src/main/webapp/WEB-INF/views/cfg/proxy/control/httpResReplaceList.jsp b/src/main/webapp/WEB-INF/views/cfg/proxy/control/httpResReplaceList.jsp index 171ddb21d..3e55f3e59 100644 --- a/src/main/webapp/WEB-INF/views/cfg/proxy/control/httpResReplaceList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/proxy/control/httpResReplaceList.jsp @@ -87,11 +87,20 @@ + +
+ + + + + + +
diff --git a/src/main/webapp/WEB-INF/views/cfg/proxy/fileStrategy/list.jsp b/src/main/webapp/WEB-INF/views/cfg/proxy/fileStrategy/list.jsp index 9f7c429e8..0181c3649 100644 --- a/src/main/webapp/WEB-INF/views/cfg/proxy/fileStrategy/list.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/proxy/fileStrategy/list.jsp @@ -94,9 +94,20 @@
+ +
+ +
+ + + + + + +
diff --git a/src/main/webapp/WEB-INF/views/cfg/requestList.jsp b/src/main/webapp/WEB-INF/views/cfg/requestList.jsp index 712dc5d41..4b8dc9ba7 100644 --- a/src/main/webapp/WEB-INF/views/cfg/requestList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/requestList.jsp @@ -77,10 +77,20 @@ - -
- - + + + + + + +
+ + + + + + +
diff --git a/src/main/webapp/WEB-INF/views/cfg/stringCfgList.jsp b/src/main/webapp/WEB-INF/views/cfg/stringCfgList.jsp index 5d43fb58b..0072647ec 100644 --- a/src/main/webapp/WEB-INF/views/cfg/stringCfgList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/stringCfgList.jsp @@ -102,11 +102,20 @@ + +
+ + + + + + +
diff --git a/src/main/webapp/WEB-INF/views/cfg/website/dnsList.jsp b/src/main/webapp/WEB-INF/views/cfg/website/dnsList.jsp index fa5164037..6cf1e7dda 100644 --- a/src/main/webapp/WEB-INF/views/cfg/website/dnsList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/website/dnsList.jsp @@ -136,11 +136,20 @@ --%> + +
+ + + + + + +
diff --git a/src/main/webapp/WEB-INF/views/cfg/website/httpList.jsp b/src/main/webapp/WEB-INF/views/cfg/website/httpList.jsp index 5bada9b7d..e5b1887c8 100644 --- a/src/main/webapp/WEB-INF/views/cfg/website/httpList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/website/httpList.jsp @@ -294,11 +294,20 @@ --%> + +
+ + + + + + +
diff --git a/src/main/webapp/WEB-INF/views/cfg/website/sslList.jsp b/src/main/webapp/WEB-INF/views/cfg/website/sslList.jsp index 5cf7e2609..7dcc4b5d8 100644 --- a/src/main/webapp/WEB-INF/views/cfg/website/sslList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/website/sslList.jsp @@ -136,11 +136,20 @@ --%> + +
+ + + + + + +
diff --git a/src/main/webapp/WEB-INF/views/cfg/whitelist/domainList.jsp b/src/main/webapp/WEB-INF/views/cfg/whitelist/domainList.jsp index 158bfefdf..455001410 100644 --- a/src/main/webapp/WEB-INF/views/cfg/whitelist/domainList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/whitelist/domainList.jsp @@ -136,11 +136,20 @@ --%> + +
+ + + + + + +
diff --git a/src/main/webapp/WEB-INF/views/cfg/whitelist/ipList.jsp b/src/main/webapp/WEB-INF/views/cfg/whitelist/ipList.jsp index dde1815af..d3078f861 100644 --- a/src/main/webapp/WEB-INF/views/cfg/whitelist/ipList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/whitelist/ipList.jsp @@ -136,11 +136,20 @@ --%> + +
+ + + + + + +
diff --git a/src/main/webapp/static/global/plugins/jquery-validation/1.11.0/localization/messages_en.js b/src/main/webapp/static/global/plugins/jquery-validation/1.11.0/localization/messages_en.js index 1f13c57bb..8887f61cc 100644 --- a/src/main/webapp/static/global/plugins/jquery-validation/1.11.0/localization/messages_en.js +++ b/src/main/webapp/static/global/plugins/jquery-validation/1.11.0/localization/messages_en.js @@ -71,6 +71,7 @@ failed:"Failed", go_back:"Go Back Policies", log_5_minutes:"Log Five Minutes' Amount", - log_1_hour:"Log One Hour's Amount" + log_1_hour:"Log One Hour's Amount", + input:"Please Enter " }); }(jQuery)); diff --git a/src/main/webapp/static/global/plugins/jquery-validation/1.11.0/localization/messages_zh.js b/src/main/webapp/static/global/plugins/jquery-validation/1.11.0/localization/messages_zh.js index 73e14be06..5c9ea8ada 100644 --- a/src/main/webapp/static/global/plugins/jquery-validation/1.11.0/localization/messages_zh.js +++ b/src/main/webapp/static/global/plugins/jquery-validation/1.11.0/localization/messages_zh.js @@ -71,6 +71,7 @@ failed:"获取失败", go_back:"返回配置界面", log_5_minutes:"5分钟日志量", - log_1_hour:"1小时日志量" + log_1_hour:"1小时日志量", + input:"请输入 " }); }(jQuery)); diff --git a/src/main/webapp/static/global/scripts/common.js b/src/main/webapp/static/global/scripts/common.js index 0536664dd..b339d1609 100644 --- a/src/main/webapp/static/global/scripts/common.js +++ b/src/main/webapp/static/global/scripts/common.js @@ -464,7 +464,54 @@ $(function(){ } } - }) + }); + // 初始 + if($("#seltype").val() == "action"){ + $("#intype").hide();// 隐藏输入框 + if($("#actionSelect").find("option").length < 3){ + $("#actionSelect").find("option[value='']").remove(); + } + }else{ + $("#actionSelect").selectpicker("hide");// 隐藏下拉框 + } + // 改变 + $("#seltype").on("change",function() { + if($(this).val() == "action"){ + if($("#actionSelect").find("option").length < 3){ + $("#actionSelect").find("option[value='']").remove(); + } + + $("#intype").hide(); // 隐藏输入框 + $("#intype").val("");// 清空input条件 + $("#actionSelect").find("option").removeAttr("selected",false); + $("#actionSelect").selectpicker("refresh"); + $("#actionSelect").selectpicker("show");// 显示下拉框 + }else{ + $("#intype").show(); // 显示输入框 + $("#intype").val("");// 清空input条件 + $("#actionSelect").find("option:first").attr("selected",true);// 清空action条件 + $("#actionSelect").selectpicker("hide");// 隐藏下拉框 + } + }); + + // 重置操作(增加) + $("#resetBtn").on("click",function(){ + // action查询条件放最上面的情况 + if($("#seltype").find("option:first").val() == "action"){ + $("#intype").hide(); + $("#actionSelect").selectpicker("show"); + return false; + } + if($("#seltype").val() == "action"){ + $("#intype").show(); + $("#intype").attr("placeholder",$.validator.messages.input+$("#seltype").find("option:first").text()); + $("#actionSelect").selectpicker("hide"); + }else{ + $("#intype").attr("placeholder",$.validator.messages.input+$("#seltype").find("option:first").text()); + } + + }); + }); window.onload=function(){ $("span[id^=open]").click(function(){ @@ -1139,7 +1186,9 @@ var areaControlInit=function(){ } //查询 var page=function(n,s){ - $("#intype").attr("name",$("#seltype").val()); + if($("#intype").val() != null && $("#intype").val() != ""){ + $("#intype").attr("name",$("#seltype").val()); + } $("#pageNo").val(n); $("#pageSize").val(s); $("#searchForm").submit();