Hi,
just started with jquery, respectively just switching from prototype/
scriptacolous to jquery...
I wonder, how i can attach an effect to the html content that has
been inserted on the fly with $.post (In this case it is a short help
text that is inserted right after corresponding label form tags).
Sample Code (excerpt):
...
$.post(url,
{ page: attr },
function(data) {
// this is the topic line
$(el).after(data).fadeIn("slow");
}
);
...
"$(el)" ist the label tag element. The inserted html data appears
proper after the label tag. Sadly the fadeIn points to the label tag
and not the loaded data of course - as i refer only to "$(el)".
But. What syntax i must use to get the desired behaviour?
Thanks in advance.
Olaf
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/