javascript - onRemove()-event? -


i've got following situation: i'm storing dates in text-inputs , above those, min- , maxdates displayed. possible add , remove additional inputs. dates stored in array of objects [{id: 1, val: '15.3.13'}, {id: 2, val: '1.4.13'}...] onchange-event these inputs checks array , calculates minimum , maximum dates display on top of page. if add input, make minimum/maximum date , remove it, onchange-event isn't called.

is there kind of onremove-event jquery or have work way around , call manually?

(the scenario above highly simplified version of real problem, idea of i'm doing. please don't "why don't call onchange-method in onclick-method of button removes inputs?", because it's not easy ;-))

are looking snippet? jquery - trigger event when element removed dom
if not, please provide code.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -