| Server IP : 103.234.187.230 / Your IP : 216.73.216.216 Web Server : Apache System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64 User : apache ( 48) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/prathamtour.com/public/assets/js2/ |
Upload File : |
$(function(){
$('.step-next-btn1').on('click', function(){
$('.form-info1, .form-info3').css('display', 'none');
$('.form-info2').css('display', 'block');
});
$('.step-next-btn2').on('click', function(){
var checkLead = $('#leadID').val();
if(checkLead!=''){
if ($('.sendEnquiryNew input[name="adultTwinSharing"]').val() == '') {
$('.enqmsg3').html('Please enter No. of Pax').css('color', 'red').fadeIn().delay(2000).fadeOut();
$('.sendEnquiryNew input[name="adultTwinSharing"]').focus();
return false;
}
}
$('.form-info1, .form-info2').css('display', 'none');
$('.form-info3').css('display', 'block');
});
$('.step-back-btn1').on('click', function(){
$('.form-info2, .form-info3').css('display', 'none');
$('.form-info1').css('display', 'block');
});
$('.step-back-btn2').on('click', function(){
$('.form-info1, .form-info3').css('display', 'none');
$('.form-info2').css('display', 'block');
});
$('.book-btn-active1 span').on('click', function(){
$(this).parent().find('span').removeClass('active');
$(this).parent().find('span').attr('id', '');
$(this).addClass('active');
$(this).attr('id', 'iwillbook');
var iwillbook = $('#iwillbook').html();
$('#willbookdays').val(iwillbook);
});
$('.book-btn-active2 span').on('click', function(){
$(this).parent().find('span').removeClass('active');
$(this).parent().find('span').attr('id', '');
$(this).addClass('active');
$(this).attr('id', 'timetocall');
var timetocall = $('#timetocall').html();
$('#preferredtime').val(timetocall);
});
$('.book-btn-active3 span').on('click', function(){
$(this).parent().find('span').removeClass('active');
$(this).parent().find('span').attr('id', '');
$(this).addClass('active');
$(this).attr('id', 'typeoftour');
var typeoftour = $('#typeoftour').html();
$('#tourtype').val(typeoftour);
});
$('.traveller-date-input').on('click', function(){
$(this).removeClass('traveller-date-input')
});
});