#2 =)))
#3 I think the difference consists in:
- children() finds direct descendants
- find() finds ALL the descendants (the children, the children of
children, and so on)
#1 maybe you can do it...but I never tried (BUT THERE ARE SOME USEFUL
PLUGINS)
var e = $("document").append("").ch
Cheers for #2, can't believe I didn't think that...
I've just looked up children() in the jQuery API, but I don't see how
it is different to find(). Unfortunately the jQuery demos are useless
since they don't actually do anything...
As for #1, I thought one was supposed to add objects to the DOM
1) I think it's a good way. $("#some").after("yourhtml"); to insert
some tags after...
2) you could save "form#question-setup fieldset:last" for example...so
var f = $("form#question-setup fieldset:last");
f.after("...").slideDown("fast").filter("input[type=text]").focus();
f.filter("div.questio
3 matches
Mail list logo