いまさら小ネタ

jQueryajaxメソッドを使用する場合、読み込まれる側のリソースはUTF-8である必要あり。
#文献調べてないけど、多分そうだろう。


#ファイル自体のエンコード変換要+以下はおまけで記載追加(dataTypeがhtmlの場合)
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

$("#button7").click( function() {
$.ajax({
type: "GET",
url: "./ajax-test.html",
dataType: "html",
cache: false,
success: function(data, textStatus) {
$("#div7").html(data);
},
error: function(xhr, textStatus, errorThrown) {
alert("error!" + textStatus + " " + errorThrown);
}
});
});

しかし、chromeだと動かないような・・・
ようわからんね。。