Posted By

Ethyde on 05/08/10


Tagged

jquery


Versions (?)

Compare two tag attribut


 / Published in: jQuery
 

  1. if(jQuery(this).attr('rel') !== jQuery( img ).attr('src') ){
  2. jQuery( img ).fadeOut('fast', function(){
  3. jQuery(this).attr({src : toLoad}).fadeIn('fast');
  4. });
  5. };

Report this snippet  

You need to login to post a comment.