shoyebzz

remove / replace string from img src

Jan 17th, 2016
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. jQuery('.testimonial_box[data-align="top"] .details img').each(function(e){
  2.  
  3. var src = jQuery(this).attr('src');
  4. jQuery(this).attr('src', src.replace('-60x60', ''));
  5.  
  6.  
  7. });
Advertisement
Add Comment
Please, Sign In to add comment