I am making the following code:
var botoesTela = "<button id='okcad' class='botao_padrao botao_ok' value='OK' onclick=''> <img src='/php/Images/OK.png' alt='OK' /> OK </button>";
divBotoes.innerHTML = divBotoes.innerHTML + botoesTela;
But when I try to get the click button on the HTML page
$("#okcad").click(function()
It does nothing ... does anyone know why?