I can easily disable a javascript button, and it works properly. My issue is that when I try to re-enable that button, it does not re-enable. Here's what I'm doing:
<script type="text/javascript">
function startCombine(startButton) {
startButton.disabled = 'true';
startButton.disabled = 'false';
}
</script>
<input type='button' id='start' value='Combine Selected Videos'
onclick='startCombine(this);'>
Why isn't this working, and what can I do to make it work?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…