浏览代码

próba dostania sie do tabeli po wyrendowaniu

dariusz.andryskowski 7 年之前
父节点
当前提交
f5c0db0ce0
共有 1 个文件被更改,包括 4 次插入3 次删除
  1. 4 3
      theme/view/footer.php

+ 4 - 3
theme/view/footer.php

@@ -43,12 +43,13 @@ setTimeout(searchColumnWithHref, 2000);
  */
 function searchColumnWithHref() {
   return false; // todo: usunc
-
+  //todo: dostanie sie do tabeli jQuery('#BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA').on('TableAjax:render', function (event) { console.log(event) })
   console.log('START searchColumnWithHref');
-
-  $(".AjaxTableCont table tr").each(function () {
+// todo: przeparsować adres url /
+  $(".AjaxTableCont table tbody tr").each(function () {
     var tableRow = $(this);
 
+
       tableRow.find('td').each(function ( indexTd, valueTd ) {
         var valueUrl = $(this).find('href');
         // pobieramy url z linku a href