Thanks for your answers. This helps. But I think, that the feature request is still interesting, because it makes using jQuery more consistent. With this behaviour, it doesn't matter, if I have an element in DOM or I have just an element in memory.
Mathias 2006/11/27, Jörn Zaefferer <[EMAIL PROTECTED]>: > Mathias Bank schrieb: > > Until know, I have to create a dom element like > > > > $('body').append('<div id="helper"></div>'); > > $('#helper').html(html); > > $('#helper li',html).css("color","red"); > > html = $('#helper').html(); > > $('#helper').remove(); > > > How about this: > html = $(html).find("li").css("color", "red").html(); > > Looks good for me, jQury already takes the burden from you to create the > helper. > > -- > Jörn Zaefferer > > http://bassistance.de > > > _______________________________________________ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/