LoginSignup
3
2

More than 5 years have passed since last update.

ゆうちょ銀行の支店コード一覧獲得スクリプト

Posted at

document.body.appendChild(function(){
src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js";
sc = document.createElement("script");
sc.type="text/javascript";
sc.src=src;
sc.onload = function() {
/*window.jQuery.noConflict();*/
};
return sc;
}()
);
const BANK_ID = "";
models = [];
$(".TblBankView").find("tr").each(function(_i, _elm){
  models.push({
    id: BANK_ID,
    code: $($(_elm).find('td')[0]).text(),
    name: $($(_elm).find('td')[1]).text(),
    kana: $($(_elm).find('td')[2]).text()
  });
});
copy(models);
3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2