I have got this button <button id="beg" onclick"disable()">beg</button>
. And function is defined here
function disable(time){
$(this).attr('disabled', 'disabled');
};
Problem is that button doesn't get disabled, I have no idea why.
Thank you.