var that=this;
jQuery.ajax({  .... }) ;

What is 'that' doing over there ?

If that line is in the global scope then: this === window.
So ... anywhere inside obj argument to ajax(), where you mention $
(that),
that is actually the same as if you have written: $(window) ...
which in trun will not work since you have few of these :

 jQuery(that).text(verbArray[i]).fadeIn(verbTime);

which *if* this === window, would be the same as :

jQuery(window).text(verbArray[i]).fadeIn(verbTime);

which will *not* work for obvious reasons ...

Second. After you fix the above. And 'that' is actually a valid dom
node, then you will do much better if you keep $(that) and not
'that' . Example:

var $that = $(that) ; // make it once
$.ajax({
 success : function(data, statusText){
         // use it everywhere
        $that.text("here");
        ....
        $that.text("and here");
        ....
        $that.text("also here");

      // as in your logic ... after you change text, fadeIn() effect
is used
     $that.fadeIn("slow") ;
}
});

--DBJ
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to