You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The HTMLSelectElement has its own definition of remove() and fires that method when $('selectid').remove() is called instead of firing the method on HTMLElement that was added by PrototypeJS.
See this StackOverflow question and the corresponding JSFiddle