// クライアント イベント 'SelectionChanged' は、 2 つのパラメーター センダーと e を取得します
// センダーはイベントを発生するオブジェクトです
// e は DropDownSelectionEventArgs です
function categoryChanged(sender, e) {
//productDropDown への参照を取得します
var productDropDown = $find("productDropDown");
productDropDown.loadItems(e.getNewSelection()[0].get_value());
}