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

jQuery - disable click for inner elements in the clickable element

0 votes
27 views
added Apr 15 in jQuery by LC Marshal Captain (20,750 points)
$('.skin-ads').click(function() { 
  var lazacode = 'https://lazacode.org/?trackthis';
  window.open(lazacode);  
  // $('#no-skin-ads-click').click(false);
  $('#no-skin-ads-click').click(function(){
    return false;
  });
});

 

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.
...