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 等于你想要填充的东西。