'+
' '+
' Children '+
' '+
' 0 '+
' 1 '+
' 2 '+
' 3 '+
' '+
'
' +
'\n' +
' Children age \n' +
' \n' +
' Children Age ' +
' \n' +
' 0 \n' +
' \n' +
' 1 \n' +
' \n' +
' 2 \n' +
' \n' +
' 3 \n' +
' \n' +
' 4 \n' +
' \n' +
' 5 \n' +
' \n' +
' 6 \n' +
' \n' +
' 7 \n' +
' \n' +
' 8 \n' +
' \n' +
' 9 \n' +
' \n' +
' 10 \n' +
' \n' +
' 11 \n' +
' \n' +
' 12 \n' +
' \n' +
' 13 \n' +
' \n' +
' 14 \n' +
' \n' +
' 15 \n' +
' \n' +
' 16 \n' +
' \n' +
' 17 \n' +
' \n' +
' \n' +
'
\n' +
'\n' +
' \n' +
' Children age \n' +
' \n' +
' Children Age ' +
' \n' +
' 0 \n' +
' \n' +
' 1 \n' +
' \n' +
' 2 \n' +
' \n' +
' 3 \n' +
' \n' +
' 4 \n' +
' \n' +
' 5 \n' +
' \n' +
' 6 \n' +
' \n' +
' 7 \n' +
' \n' +
' 8 \n' +
' \n' +
' 9 \n' +
' \n' +
' 10 \n' +
' \n' +
' 11 \n' +
' \n' +
' 12 \n' +
' \n' +
' 13 \n' +
' \n' +
' 14 \n' +
' \n' +
' 15 \n' +
' \n' +
' 16 \n' +
' \n' +
' 17 \n' +
' \n' +
' \n' +
'
\n' +
'\n' +
' \n' +
' Children age \n' +
' \n' +
' Children Age ' +
' \n' +
' 0 \n' +
' \n' +
' 1 \n' +
' \n' +
' 2 \n' +
' \n' +
' 3 \n' +
' \n' +
' 4 \n' +
' \n' +
' 5 \n' +
' \n' +
' 6 \n' +
' \n' +
' 7 \n' +
' \n' +
' 8 \n' +
' \n' +
' 9 \n' +
' \n' +
' 10 \n' +
' \n' +
' 11 \n' +
' \n' +
' 12 \n' +
' \n' +
' 13 \n' +
' \n' +
' 14 \n' +
' \n' +
' 15 \n' +
' \n' +
' 16 \n' +
' \n' +
' 17 \n' +
' \n' +
' \n' +
'
'+
' '+
' ';
setTimeout( function(){
$( ".children-count .form-custom-options .form-custom-option" ).on( "click", function(){
var num = $( this ).data( "value" );
$(this).parent().parent().parent().parent().parent().parent().find( ".children-age" ).hide();
for( var i = 1 ; i ");
$(value).find("#adults").attr("id", "adults" + index);
$(value).find("#children").attr("id", "children" + index);
})
$('.rooms-remove').on('click', function(){
$(this).closest('div').remove();
})
$(".custom-sel.new").each(function() {
var classes = $(this).attr("class"),
id = $(this).attr("id"),
name = $(this).attr("name");
var template = '';
template += '
' + $(this).attr("placeholder") + ' ';
template += '
';
$(this).find("option").each(function() {
template += '' + $(this).html() + ' ';
});
template += '
';
$(this).wrap('
');
$(this).hide();
$(this).after(template);
});
$(".form-custom-option:first-of-type").hover(function() {
$(this).parents(".form-custom-options").addClass("option-hover");
},
function() {
$(this).parents(".form-custom-options").removeClass("option-hover");
});
$(".custom-sel-trigger").on("click", function() {
$('html').one('click',function() {
$(".custom-sel").removeClass("opened");
});
$(this).parents(".custom-sel").toggleClass("opened");
event.stopPropagation();
});
$(".form-custom-option").on("click", function() {
$(this).parents(".custom-sel-wrapper").find("select").val($(this).data("value"));
$(this).parents(".form-custom-options").find(".form-custom-option").removeClass("selection");
$(this).addClass("selection");
$(this).parents(".custom-sel").removeClass("opened");
$(this).parents(".custom-sel").find(".custom-sel-trigger").text($(this).text());
});
$( ".custom-sel.new" ).removeClass( "new" );
$( ".children-count select" ).on( "change", function(){
var num = $( this ).val( );
$(this).parent().parent().find( ".children-age" ).hide();
for( var i = 1 ; i
The information or details for the listed event(s) may change at any given time and The Bahamas Ministry of Tourism, or The Government of The Bahamas, will not be held liable for any decision made based upon it