Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
forループでは、次のようになります。
$("<option />").attr("value", yourvalue).text(yourvalue).appendTo("#training_field");
yourvalueは、入力したいものと同じです。