But this

        $(document).ready(function() {
                $('#save').click(function(event){
                                $("table tr#t2").after("<tr id='d1' 
style='background-
color:yellow;'>Insert this row</tr>");
                                $("table tr#d1").hide();
                                $("table tr#d1").fadeIn("slow");
                });
        });

seems now to work. Its curious!! Is that ok what i have done?

thanks
yavuz

Yavuz Bogazci schrieb:
> Hi,
>
> i have these lines of code:
>
> $('#save').click(function(event){
>       $("table tr#t2").after("<tr style="ackground-color:yellow;">Insert
> this row</tr>").fadeIn("slow");
> });
>
> If the save buttons gets clicked, i append a new row. This works fine.
> But when additionally want to fadeIn, it didnt work. Does the fadeIn
> Effect not work in chain with .after'?
>
> Thanks
> Yavuz

Reply via email to