Please ignore the fact that the single quotes are being escaped.

Thanks

Donald wrote:
> Is i possible to pass arguments to callback functions right now I
> have:
>
> $(".imagethumb").each(function() {
>     $(this).bind( \'click\', function() {
>         var $id = $(this)[0].id;
>         $("#prodimage").fadeOut("slow",
>             function($id) {
>                 $("#prodimage")[0].src = $("#" + id ).attr( \'fullsize
> \' );
>                 $("#prodimage").fadeIn("slow");
>             });
>         }
>     );
> });
>
> When it gets to the callback function for fadeOut $id is null.  How do
> I fix this??
>   

Reply via email to