Simple form, combination jquery with javascript.
// To disable:
$('#test').each(function (){
this.style.pointerEvents = 'none';
});
// To re-enable:
$('#test').each(function (){
this.style.pointerEvents = 'auto';
});
So, you can change the selector for multiple tags