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
  • 33,915
  • 22
  • 119
  • 174
Jess McKenzie
  • 8,345
  • 27
  • 100
  • 170