>
> You need to copy the reference to your link to a variable like this:
>
> jQuery('#yt1').click(function(){
>  $(this).replaceWith("<i>Approving...</i>");
>  var aObj = $(this);

if you are going to suggest this, go ahead and teach a good practice
of not creating a new jq object unnecessarily:

.click(function(){
   var aObj = $(this);
   aObj.replaceWith("<i>...</i>");
   ajaxCrap(...);
});

Regards,
Peter

Reply via email to