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.
我必须查看您要确定的 HTML,但在我看来,您的选择器针对的是选择的第一个选项。
尝试 $(this).parent.append() 代替。
$(this).parent().append($("<option></option>").attr("value", "Reset").text("Reset"));