Scripts not working anymore - help needed

Scripts not working anymore - help needed

satyriasissatyriasis Posts: 30Questions: 7Answers: 0
edited January 2022 in General

Hi guys, I recently migrated hosting. and, using formidable forms on wordpress, I just re-imported everything I made, using in a views your scripts... for some reason they dont work any more. Could there be some issue? Did I need to add anything to website code maybe or?

<table id="moja" class="display" width="100%"> 
<thead>
<tr>
<th>Br</th>
<th>Termin</th>
<th>Stranka</th>
<th>Kvart</th>
<th>Usluga</th>
<th>Dolasci</th>
<th>Zarada</th>
<th>Status</th>
<th>Uredi</th>
</tr>
</thead>
<tbody>


<tr>
<td>[su_spoiler open="no" title="[2020]" style="default"]<strong>Kreirano:</strong> [2016] [/su_spoiler] </td>

<td>[if 2014][2014][/if 2014][if 2032][2032][/if 2032]</td>
      <td>[su_spoiler open="no" title="[if 1691][1691] [/if 1691][if 1692][1692] [/if 1692][if 2279], Tvrtka [2279] [/if 2279]" style="default"]
[if 2368 equals="Inicijalna"][if 1536]<strong>Adresa:</strong> <a href="https://maps.google.com/?q=[1536]"  target="_blank">[1536]</a>[/if 1536][if 1677], [1677]. kat[/if 1677] 
[if 1540]<strong>Broj mobitela:</strong> [1540][/if 1540]
[if 1655]<br><strong> Mail:</strong> [1655][/if 1655][/if 2368]

[if 2368 equals="Dodatno"]
[if 2021]<strong>Adresa:</strong> <a href="https://maps.google.com/?q=[2021]"  target="_blank">[2021]</a>[/if 2021][if 2370], [2370]. kat [/if 2370]
[if 1928]<strong>Broj mobitela:</strong> [1928][/if 1928]
[if 1655]<br><strong> Mail:</strong> [1655][/if 1655]
[/if 2368]

[if 1879 equals="Da"]<br><span style="text-decoration: underline;">Potreban R1 račun</span>[/if 1879]
[if 2279]<strong>Naziv tvrtke:</strong> [2279] [/if 2279]
[if 2275]<strong>Adresa tvrtke:</strong> <a href="https://maps.google.com/?q=[2275]"  target="_blank">[2275]</a> [/if 2275][if 2369], [2369]. kat [/if 2369]
[if 2273]<strong>OIB:</strong> [2273][/if 2273][/su_spoiler]
</td>

      <td>[if 1869][1869][/if 1869]</td>

<td>
[su_spoiler open="no" title="[if 2158][2158][/if 2158][if 2065][2065][/if 2065][if 2162] i [2162][/if 2162][if 1727] i [1727][/if 1727]" style="default"]
[if 1843]<strong>Marka:</strong> [1843][/if 1843][if 2234]<strong>Marka:</strong> [2234][/if 2234]
[if 1857]<strong>Starost:</strong> [1857][/if 1857][if 2235]<strong>Starost:</strong> [2235][/if 2235]
[if 1675]<strong>Problem:</strong> [1675 wpautop=0][/if 1675][if 2236]<strong>Problem:</strong> [2236 wpautop=0][/if 2236]
[if 2237]<strong>Napomena:</strong> [2237][/if 2237][if 1844 wpautop=0]<strong>Napomena:</strong> [1844 wpautop=0][/if 1844]
[if 1886 equals="Da"]<span style="text-decoration: underline;"><br>Dodatni uređaj</span>[/if 1886]
[if 1891]<strong>Marka:</strong> [1891][/if 1891][if 2242]<strong>Marka:</strong> [2242][/if 2242]
[if 1895]<strong>Starost:</strong> [1895][/if 1895][if 2243]<strong>Starost:</strong> [2243][/if 2243]
[if 1896]<strong>Problem:</strong> [1896 wpautop=0][/if 1896][if 2247]<strong>Problem:</strong> [2247 wpautop=0][/if 2247]
[if 1897]<strong>Napomena:</strong> [1897 wpautop=0][/if 1897][if 2248]<strong>Napomena:</strong> [2248 wpautop=0][/if 2248]
[/su_spoiler]</td>


<td> [2366] </td>


<td>[if 1955][1955] HRK[/if 1955] ([if 1925][1925][/if 1925][if 2373], [2373][/if 2373][if 2374], [2374][/if 2374])<br> <a href="[detaillink]">Račun</a></td>
<td>[1546] [1527]</td>
<td>[su_note color="#ffffff" text_color="#666666"]<span style="font-family:Poppins; font-size:16px;font-weight:400;">[editlink label="Uredi"]|[deletelink label="Obriši" prefix="frm_del_container_"]</span>[/su_note]</td>
</tr>


 </tbody>
</table>
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.11.3/css/jquery.dataTables.min.css">
<script type="text/javascript" src="https://cdn.datatables.net/1.11.3/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/buttons/1.6.1/js/dataTables.buttons.min.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/buttons/1.6.1/js/buttons.flash.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/buttons/1.6.1/js/buttons.html5.min.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/buttons/1.6.1/js/buttons.print.min.js"></script>
<script>
$('#moja').DataTable({
 responsive: true,
      language: {
         url: '//cdn.datatables.net/plug-ins/1.11.3/i18n/hr.json'
       },
       dom: 'Bfrtip',
       buttons: [
           { extend: 'copy', className: 'nectar-button medium regular extra-color-1  regular-button tableBtn' },
           { extend: 'csv', className: 'nectar-button medium regular extra-color-1  regular-button tableBtn' },
           { extend: 'excel', className: 'nectar-button medium regular extra-color-1  regular-button tableBtn' },
           { extend: 'print', className: 'nectar-button medium regular extra-color-1  regular-button tableBtn' }
       ] });
</script>

Edit

Please don't post duplicate questions. See my answers in your other thread.

Kevin

Sign In or Register to comment.