JS update errror
-
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!The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘JS update errror’ is closed to new replies.