Tag Archives: how to disable a button in javascript based on condition