When I attempt to add an option
to a select
, the option
Iām trying to append ends up appended to the first option
instead of the select
itself.
$(".ct [value='']").each(function() {
$(this).append($("<option></option>").attr("value", "Reset").text("Reset"));
});
Help?