$(document).ready(function() {
if($('INPUT').length>0){
$('INPUT').mask('SSSS-SSSS-SSSS', {'translation': {S: {pattern: /[A-Za-z0-9]/}}}); // Here you need to change customize the pattern
}
});
Html, JAVA,DOTNET,Javascript, PHP, and JQuery Scripts and its issues with solutions
$(document).ready(function() {
if($('INPUT').length>0){
$('INPUT').mask('SSSS-SSSS-SSSS', {'translation': {S: {pattern: /[A-Za-z0-9]/}}}); // Here you need to change customize the pattern
}
});
CakeLog::config('customlog', array( 'engine' => 'File', 'path' => WWW_ROOT.'files/log/' ));
customlog - Logname
path - Yourself to set customize whatever you need
Code:
CakeLog::write('customlog', 'Log data');