Re:同じです。
野々村さん (2014-08-05 21:00:02) 5mm.jp/yoyaku_smartphone/yoyaku_smartphone.html
758~808行目の
function formatCharset(obj){
var befor = new Array("ガ","ギ","グ","ゲ","ゴ","ザ","ジ","ズ","ゼ","ゾ","ダ","ヂ",
"ヅ","デ","ド","バ","ビ","ブ","ベ","ボ","パ","ピ","プ","ペ","ポ","ヲ","ァ",
"ィ","ゥ","ェ","ォ","ャ","ュ","ョ","ッ","ー","ア","イ","ウ","エ","オ","カ","キ","ク","ケ",
"コ","サ","シ","ス","セ","ソ","タ","チ","ツ","テ","ト","ナ","ニ","ヌ","ネ","ノ","ハ","ヒ",
"フ","ヘ","ホ","マ","ミ","ム","メ","モ","ヤ","ユ","ヨ","ラ","リ","ル","レ","ロ","ワ","ン",
’A’,’B’,’C’,’D’,’E’,’F’,’G’,’H’,’I’,’J’,’K’,’L’,’M’,’N’,’O’,’P’,’Q’,’R’,’S’,’T’,’U’,’V’,’W’,’X’,’Y’,’Z’,’a’,’b’,’c’,’d’,’e’,’f’,’g’,’h’,’i’,’j’,’k’,’l’,’m’,’n’,’o’,’p’,’q’,’r’,’s’,’t’,’u’,’v’,’w’,’x’,’y’,’z’,’@’,’0’,’1’,’2’,’3’,’4’,’5’,’6’,’7’,’8’,’9’,’.’,
’(1)’,’(2)’,’(3)’,’(4)’,’(5)’,’(6)’,’(7)’,’(8)’,’(9)’,’(10)’,’(1)’,’(2)’,’(3)’,’(4)’,’(5)’,’(6)’,’(7)’,’(8)’,’(9)’,’(10)’,’(株)’,’(有)’,’-’);
var after = new Array("ガ","ギ","グ","ゲ","ゴ","ザ","ジ","ズ","ゼ","ゾ","ダ","ヂ",
"ヅ","デ","ド","バ","ビ","ブ","ベ","ボ","パ","ピ","プ","ペ","ポ","ヲ","ァ",
"ィ","ゥ","ェ","ォ","ャ","ュ","ョ","ッ","ー","ア","イ","ウ","エ","オ","カ",
"キ","ク","ケ","コ","サ","シ","ス","セ","ソ","タ","チ","ツ","テ","ト","ナ",
"ニ","ヌ","ネ","ノ","ハ","ヒ","フ","ヘ","ホ","マ","ミ","ム","メ","モ","ヤ",
"ユ","ヨ","ラ","リ","ル","レ","ロ","ワ","ン",
’A’,’B’,’C’,’D’,’E’,’F’,’G’,’H’,’I’,’J’,’K’,’L’,’M’,’N’,’O’,’P’,’Q’,’R’,’S’,’T’,’U’,’V’,’W’,’X’,’Y’,’Z’,’a’,’b’,’c’,’d’,’e’,’f’,’g’,’h’,’i’,’j’,’k’,’l’,’m’,’n’,’o’,’p’,’q’,’r’,’s’,’t’,’u’,’v’,’w’,’x’,’y’,’z’,’@’,’0’,’1’,’2’,’3’,’4’,’5’,’6’,’7’,’8’,’9’,’.’,
’(1)’,’(2)’,’(3)’,’(4)’,’(5)’,’(6)’,’(7)’,’(8)’,’(9)’,’(10)’,’(1)’,’(2)’,’(3)’,’(4)’,’(5)’,’(6)’,’(7)’,’(8)’,’(9)’,’(10)’,’(株)’,’(有)’,’-’);
for(i=0;i<befor.length;i++){
var temp = new Array();
temp = obj.value.split(befor[i]);
obj.value = temp.join(after[i]);
}
var temp = new Array();
temp = obj.value.split("¥n");
for(i=0;i<temp.length;i++){
if(temp[i].length > 64){
var chars = new Array();
chars = temp[i].split("");
for(ii=63;ii<chars.length;ii+=63){
chars[ii] += "¥n";
}
temp[i] = chars.join("");
}
}
obj.value = temp.join("¥n");
}
function figureChecked(figure){
var single_char = new Array(’0’,’1’,’2’,’3’,’4’,’5’,’6’,’7’,’8’,’9’,’-’);
var double_char = new Array(’0’,’1’,’2’,’3’,’4’,’5’,’6’,’7’,’8’,’9’,’-’);
for(i=0;i<single_char.length;i++){
var temp = new Array();
temp = figure.split(double_char[i]);
figure = temp.join(single_char[i]);
}
var figureMatch = figure.match(/[^0-9]/g);
if(figureMatch){
return false;
}
else{
return figure;
}
}
ここまでを、以下に変更うわあん
function formatCharset(obj){
}
で合ってるうわん?