I know that to effect this blocking / fading effect I can use JavaScript or some AJAX component.
I find this kind of care interesting to prevent the user from clicking on the same button several times, which can cause problems. In addition to giving an indication that processing is still occurring.
What would be the most appropriate approach, JavaScript, AJAX or is there another way?