java.util.ConcurrentModificationException with iterator

You must use iterator.remove() instead of tableRecords.remove() You can remove items on a list on which you iterate only if you use the remove method from the iterator. EDIT : When you create an iterator, it starts to count the modifications that were applied on the collection. If the iterator detects that some modifications were … Read more

Remove dom element without knowing its parent?

You should be able to get the parent of the element, then remove the element from that function removeElement(el) { el.parentNode.removeChild(el); } Update You can set this as a new method on the HTMLElement: HTMLElement.prototype.remove = function() { this.parentNode.removeChild(this); return this; } And then do el.remove() (which will also return the element)

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)