How about: jQuery("#id").children().die();
On Feb 20, 3:44 pm, Pappy <helga...@gmail.com> wrote: > I am trying to remove live events from all children of an element > (specifically, the element is a dialog window). > > jQuery("#id *").die() > > There's an "Invalid Quantifier" exception when creating the namespace > RegExp in the remove function (line 2431, jquery.js v1.3.1). The > asterisk is never escaped and is causing the exception. > > That said, looking through the code, it looks like '*' is simply not > supported. True? If so, am I missing something else easy? I really > like to not go through each event and remove it (yes, I'm lazy) :) > > Worst case, I'll add a class (eg. 'dialog_event') to each element.