To disable Clear button while all input fields are null
<p>In the form that I am developing, I need to implement a screen rule which is - Clear button is greyed out until atleast one input field is not null. For this, I have added a js function which checks all input fields and gets called during "onmousemove" event. I have added this to body tag. 
I does work, but I suspect if this is the best way it can be done. 
Are there better ways to implement this? </p>
