$.each( headings, function() {
$('#heading').append($("<option />",{ value: this, text: this }));
});
HTMLバリデーターはこれを示しています
<option value="abc"></option>
<option value="xyz"></option>
</select>
オプションのテキストが印刷されません。ハッシュを使用しても問題なく動作します
$.each( headings, function() {
$('#heading').append($("<option />",{ value: this, text: this }));
});
HTMLバリデーターはこれを示しています
<option value="abc"></option>
<option value="xyz"></option>
</select>
オプションのテキストが印刷されません。ハッシュを使用しても問題なく動作します