$('#reg button').click(function () {
var data = $('#reg input').serialize();
$.post('../server/web/index.php?=customers/add',data, function (data) {
alert(data);
});
});
$.post('../server/web/index.php?=customers/add',data, function (data) {
alert(data);
});
$.post(Url::to('customer/add'),data, function (data) {
alert(data);
});