Are you first timer at lazacode.org? Why not join us and start exchange your programming knowledge with everyone. Register today!

jQuery - hide class in specific URL

0 votes
26 views
added Dec 5 in jQuery by LC Marshal Lieutenant (14,830 points)
document.ready(function() {
  if (window.location.href.indexOf('https://www.yoursite.com/portal/')) {
    //Hide the element.
    $('.banderole').hide();
  }
});

Please log in or register to response this reference.

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...