2015-07-31から1日間の記事一覧
(function () { //select要素のoptionを書き換える function replaceSelectOption (select, text, value, defValue) { //引数確認 if (2 > arguments.length) throw new Error; if (! /^(SELECT|DATALIST)$/.test (select.tagName)) throw new Error; if (! …
(function () { //select要素のoptionを書き換える function replaceSelectOption (select, text, value, defValue) { //引数確認 if (2 > arguments.length) throw new Error; if (! /^(SELECT|DATALIST)$/.test (select.tagName)) throw new Error; if (! …