> I like that, especially the new dom element creation ... does it also
> include any nifty way to do nested element creation like the dom
> creation plugins?
Well, (nearly) anything that can go in a .append() can now, also, go
in $() - I've found that this simple change has completely changed how
I write jQuery code - it's pretty cool.
As far as nested content goes, you could do it in multiple ways:
$("<ul><li>foo</li></ul>").find("li").click(...).end().appendTo("body");
or
$("<ul></ul>").append(
$("<li></li>").click(...)
).appendTo("body");
So yeah, you can write code that's very similar to the DOM plugin. Enjoy :-)
--John
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/