「作成」ボタンをクリックすると作成される10個のボタンがあります。
「作成」をクリックしたときにこれらすべてのボタンもクリックするにはどうすればよいですか?
function a() {
selectAll();
jQuery(selectAllValues());
};
function selectAllValues() {
for(var i = 0; i < array.length; i++) {
document.getElementById("select" + array[i]).click();
}
};
問題は、ボタンが作成されてもクリックされないことです。