Software: Apache. PHP/5.6.40 uname -a: Linux cpanel06wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.80.el6.x86_64 #1 SMP Thu Sep 24 uid=851(cp949260) gid=853(cp949260) groups=853(cp949260) Safe-mode: OFF (not secure) /home/cp949260/public_html/mophlawyer.com/admin/assets/javascripts/forms/ drwxr-xr-x |
Viewing file: Select action/file-type: (function() { 'use strict'; // basic $("#form").validate({ highlight: function( label ) { $(label).closest('.form-group').removeClass('has-success').addClass('has-error'); }, success: function( label ) { $(label).closest('.form-group').removeClass('has-error'); label.remove(); }, errorPlacement: function( error, element ) { var placement = element.closest('.input-group'); if (!placement.get(0)) { placement = element; } if (error.text() !== '') { placement.after(error); } } }); // validation summary var $summaryForm = $("#summary-form"); $summaryForm.validate({ errorContainer: $summaryForm.find( 'div.validation-message' ), errorLabelContainer: $summaryForm.find( 'div.validation-message ul' ), wrapper: "li" }); // checkbox, radio and selects $("#chk-radios-form, #selects-form").each(function() { $(this).validate({ highlight: function(element) { $(element).closest('.form-group').removeClass('has-success').addClass('has-error'); }, success: function(element) { $(element).closest('.form-group').removeClass('has-error'); } }); }); }).apply( this, [ jQuery ]); |
:: Command execute :: | |
--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0127 ]-- |