Posts

Showing posts from April, 2016
$(function() { var isCustomerNominated = $("#IsCustomerNominated"); hideAirline.call(isCustomerNominated); isCustomerNominated.on("change", function (e) { hideAirline.call($(this)); }) }); function hideAirline() { var contractedAirline = $("#contractedAirline"); if (this.is(":checked")) { contractedAirline.css("visibility", "visible"); } else { contractedAirline.css("visibility", "hidden"); } }