This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tripFilter = function () { | |
var tripClass = '.hotel-trip select', | |
hotelClass = '.hotel-name select', | |
cityClass = '.city-date select', | |
unusedClass = '.unused-options select'; | |
var tripSelect = jQuery(cityClass), //used to be tripClass | |
trip = tripSelect.val(), //figure out which trip they're going on | |
hotelSelect = tripSelect.parents('form').find(hotelClass); //set the var for the dropdown box for Hotel Room Option |