403Webshell
Server IP : 108.170.25.35  /  Your IP : 3.15.189.218
Web Server : Apache/2
System : Linux gains.winzonesoftech.com 4.18.0-513.24.1.el8_9.x86_64 #1 SMP Mon Apr 8 11:23:13 EDT 2024 x86_64
User : studio ( 1434)
PHP Version : 8.1.28
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/studio/domains/studio7eleven.com/public_html/admin/js/plugins-init/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/studio/domains/studio7eleven.com/public_html/admin/js/plugins-init/form-bootstrap-validate-init.js
(function($) {
    'use strict';

    $(document).ready(function() {
        $(".bs-submit").click(function() {
      
          //Fetch form to apply custom Bootstrap validation
          var form = $(".needs-validation")
      
          if (form[0].checkValidity() === false) {
            event.preventDefault()
            event.stopPropagation()
          }

          form.addClass('was-validated');
      
          //Make ajax call here
      
        })
      });

      function isNumberKey(evt){
        var charCode = (evt.which) ? evt.which : event.keyCode
        if (charCode > 31 && (charCode < 48 || charCode > 57))
            return false;
        return true;
    }




    //to confirm input takes only number input
    //use class ".shouldNumber" in your html <input type="text" /> element
    $('.shouldNumber').on('keypress', function() {
        return isNumberKey(event)
    });

  })(jQuery);

Youez - 2016 - github.com/yon3zu
LinuXploit