Report question

Question: What is the best approach for (client-side) disabling of a submit button?