How to programmatically click on the confirm button of the dialog box?
I tried to delete, but it does not go in, I can not understand why. Therefore, I decided to think maybe you can programmatically click on the button of the dialog box.
input.eq(iinp).attr('onclick','myFunction()'); input.eq(iinp).prop('onclick',null); input.eq(iinp).off('click'); $('html').unbind('click'); input.eq(iinp).removeAttr("onclick"); <input type="submit" name="fyy" value="конец" onclick="return confirm('Вы точно этого хотите?')" /> 