• Hello.
    I have this JS to hide all the tables with the “class”. This table is in all the event descriptions, and hide it when no text on <td>.

    <script>
    //Ocultar tabla sin contenido
    $(function() {
    $('.tComp tr').each(function() {
    var flag = true;
    $(this).find('td').each(function() {
    var l = $(this).html().replace(/\s+/g, '').length;
    if (l) {
    flag = false;
    }
    });
    if (flag) {
    $(this).remove();
    }
    });
    });
    </script>

    It works, but only If I refresh the page every time I use the calendar to navigate throw the months.
    How can I fix it?
    I deleted cache from FTP and nothing…
    Thanks!

    • This topic was modified 6 years, 8 months ago by mdomfu.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi @mdomfu,

    Your inquiry requires changes in the code, which unfortunately we cannot help with as part of our support. We’ll keep this topic open for a few days for other user to chime in if possible. Thanks for your understanding.

    Best regards,
    Ben

Viewing 1 replies (of 1 total)
  • The topic ‘JS update errror’ is closed to new replies.