Is the data inserted within the label element? If so, you could try
$(el).children().fadeIn("slow");
If it's inserted after the element, you could try
$(el).next().fadeIn("slow");
Olaf Gleba wrote:
>
> 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/
>
>
--
View this message in context:
http://www.nabble.com/Right-approach-width-.after%28%29-and-effects-tf3420389.html#a9533547
Sent from the JQuery mailing list archive at Nabble.com.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/