I have a IG with link columns to another page in my application, I'd like to block "manyclicks" on that link, I have a below JS code:
$(document).ready(function () {$(document).ready(function () {
$("#gridD_ig_grid_vc > div.a-GV-bdy:nth-child(4)").click( function (event) {
$('#gridD_ig_grid_vc > div.a-GV-bdy:nth-child(4)').css('opacity','0.1');
$(this).css('pointer-events', 'none');
$(this).prop('disabled', true);
});
});
});
I have to figure out selector only for 4th and 5th column of the grid where links are, I tried with nth-child but it doesn't work.