Browse Source

próba dostania sie do tabeli po wyrendowaniu

dariusz.andryskowski 7 years ago
parent
commit
f5c0db0ce0
1 changed files with 4 additions and 3 deletions
  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