私はこれを達成するための最良の方法です何を思ったんだけど:私たちは2つのクラスを見つけることができますか?
var $optionSets = $('#options').find('.option-set','#talents')..
doens't仕事こと。
$('#options').find('.option-set, #talents')
注: "#talents"
は基本的に私は、一つの "クエリ" でmultiple selectionsを達成するために、両方の.option-set
と#talents
2番目のクラスは 'class'ではなく' id'です – Sotiris