Disabling A Button In Javascript Based On Condition

Disabling A Button In Javascript Based On Condition