I have a wherr form. I fill in the name of the element and immediately after I hit it, adds the element to the drop-down list and is automatically selected. Is there any way not to use this newly added item?
My code that adds the item is as follows
$("#userGroup_groups").append("<option value="41" selected="selected">item</option>");
source share