$(document).ready(function () {
$('button[name=delete]').click(function () {
$("#detele_input").value($(this).attr("#data-id")); <--X
$("#delete_form").submit();
});
});