[jQuery] remove objects from set

2008-11-26 Thread takeshin
Hi! Using hints from this group, I create set of invalid fields this way: jQuery.fn.push = function( selector_or_nodes ) { // Given a selector or a jQuery object, append all of the nodes to // the current jQuer

[jQuery] remove objects from set

2008-11-26 Thread takeshin
Hi, I add elements to set this way: jQuery.fn.pushIf = function(selector_or_nodes) { var nodes = (typeof a == 'string') ? $(selector_or_nodes) : selector_or_nodes; var n