$(document).ready(function(){
$("input").not('input[type=submit]').addClass('form-control');
$('.edit-customer').click(function(){
// get data from edit btn
var id = $(this).attr('data-id');
var name = $(this).attr('data-name');
var address = $(this).attr('data-address');
// set value to modal
$("#showID").val(id);
$("#showname").val(name);
$("#showaddress").val(address);
$('#formEditdetail').modal('show')
});
});