次の行でFormタグのaction属性を設定しています
$("#divIsInternational span").bind('click', function() {
$('#action').val('bypcgDestination');
var SelectedItem = $(this).attr("id");
if (SelectedItem.toString() == "Domestic") {
$(this).removeClass().addClass("domestic selected");
$(this).siblings().removeClass("selected");
$("#toDefaultPage").attr("action", "home/domestic");
}
else {
$(this).removeClass().addClass("international selected");
$(this).siblings().removeClass("selected");
$("#toDefaultPage").attr("action", "home/international");
}
$("#isDomesticInMaster").val(SelectedItem);
$("#toDefaultPage").submit();
});
Chromeでは正常に動作しますがfirefoxでは動作しません。Firefoxコンソールにもエラーメッセージが表示されないため、問題を見つけることができません。