$('#form-register').validate({ rules:{ username:{ required:true, minlength:3, remote:{ url:'{{Asset("check/check-username")}}', type: 'POST' } },
$('#form-register').validate({ rules:{ username:{ required:true, minlength:3, remote:{ url:'{{Asset("check/check-username")}}', type: 'POST' } },