Uploaded From CV. Swandhana Server
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
/**
|
||||
* Theme: Highdmin - Responsive Bootstrap 4 Admin Dashboard
|
||||
* Author: Coderthemes
|
||||
* Form Advanced
|
||||
*/
|
||||
|
||||
|
||||
jQuery(document).ready(function () {
|
||||
|
||||
// Select2
|
||||
$(".select2").select2();
|
||||
|
||||
$(".select2-limiting").select2({
|
||||
maximumSelectionLength: 2
|
||||
});
|
||||
|
||||
$('.selectpicker').selectpicker();
|
||||
$(":file").filestyle({input: false});
|
||||
});
|
||||
|
||||
|
||||
|
||||
//Bootstrap-MaxLength
|
||||
$('input#defaultconfig').maxlength({
|
||||
warningClass: "badge badge-success",
|
||||
limitReachedClass: "badge badge-danger"
|
||||
});
|
||||
|
||||
$('input#thresholdconfig').maxlength({
|
||||
threshold: 20,
|
||||
warningClass: "badge badge-success",
|
||||
limitReachedClass: "badge badge-danger"
|
||||
});
|
||||
|
||||
$('input#alloptions').maxlength({
|
||||
alwaysShow: true,
|
||||
separator: ' out of ',
|
||||
preText: 'You typed ',
|
||||
postText: ' chars available.',
|
||||
validate: true,
|
||||
warningClass: "badge badge-success",
|
||||
limitReachedClass: "badge badge-danger"
|
||||
});
|
||||
|
||||
$('textarea#textarea').maxlength({
|
||||
alwaysShow: true,
|
||||
warningClass: "badge badge-success",
|
||||
limitReachedClass: "badge badge-danger"
|
||||
});
|
||||
|
||||
$('input#placement').maxlength({
|
||||
alwaysShow: true,
|
||||
placement: 'top-left',
|
||||
warningClass: "badge badge-success",
|
||||
limitReachedClass: "badge badge-danger"
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user