<input type="checkbox" onclick="document.getElementById('submit').disabled=!document.getElementById('submit').disabled;"/> <button id="submit" type="submit" disabled="disabled">Send</button>