Download
Download this plugin

Right click on the below regions to see the context menu.
Region with Static ID 'tst'
Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test Test test
Capture ID on Interactive Report (right click IR and click Test2)
Here is how I capture the interactive report element ID using this $(el).children('td[headers="ID"]').text() jquery to get the ID
function myMenuAction2(action, el, pos) {
          alert(
		'Action: ' + action + '\n\n' +
		'IR Element Id: ' + $(el).children('td[headers="ID"]').text() + '\n\n' + 
		'Element Html: ' + $(el).html() + '\n\n' + 
		'X: ' + pos.x + '  Y: ' + pos.y + ' (relative to element)\n\n' + 
		'X: ' + pos.docX + '  Y: ' + pos.docY+ ' (relative to document)'
		);
}
And my Plugin settings are like this

Plugin Settings