$(document).ready(function(){
$('.delete').click(function(){
var id = $(this).parent('td').prevAll('.index').html();
$.post(
'/admin/ajax',
{data:id},
complete
);
});
function complete(data){
var selec = '#7';
var step = $(selec);
console.log(step);
}
});