Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /home/picotech/domains/picomail.picotech.app/public_html/public/js/customer/ drwxr-xr-x | |
| Viewing file: Select action/file-type: "use strict";
$('#contacts').DataTable({
processing: true,
serverSide: true,
responsive:true,
ajax:'/contact/get',
columns: [
{ "data": "name" },
{ "data": "email" },
{ "data": "address" },
{ "data": "city" },
{ "data": "state" },
{ "data": "zip_code" },
{ "data": "company" },
{ "data": "note" },
{ "data": "action" },
]
});
$.validator.addMethod("phone_number", function(value, element) {
return new RegExp(/^[0-9\-\+]{9,15}$/).test(value);
}, 'Invalid phone number');
$('#contactForm').validate({
rules: {
email: {
required: true,
email:true
}
},
messages: {
email:'Please enter email address'
},
errorElement: 'span',
errorPlacement: function (error, element) {
error.addClass('invalid-feedback');
element.closest('.form-group').append(error);
},
highlight: function (element, errorClass, validClass) {
$(element).addClass('is-invalid');
},
unhighlight: function (element, errorClass, validClass) {
$(element).removeClass('is-invalid');
}
});
$('#forward_to_dial_code,#contact_dial_code').select2();
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0048 ]-- |