Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interactive grid - jQuery selector for two columns

A_ce1Jan 23 2023

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.

This post has been answered by Hamza Al-abbasi on Jan 24 2023
Jump to Answer
Comments
Post Details
Added on Jan 23 2023
4 comments
1,349 views