0

If I have the following <li> menu item how could I make it so that on page load it appends a onclick reload function?

My issue is that the page is not updating when clicked and I have to force refresh the page to show the data. If I can get it to force reload on click it would be great

Example:

<li class="cat-item cat-item-625 current-cat active">
    <a href="http://domain.co.nz/product-category/brands/" data-id="625" class="lt-filter-by-cat lt-active">
       Brands
    </a>
</li>
Julian
  • 30,223
  • 19
  • 105
  • 147
Jess McKenzie
  • 8,266
  • 27
  • 96
  • 164