How to change img src string from ending with _m to _t using jquery for a set of images

Posted by Matthew on Stack Overflow See other posts from Stack Overflow or by Matthew
Published on 2010-05-08T00:53:46Z Indexed on 2010/05/08 0:58 UTC
Read the original article Hit count: 324

Filed under:
|

Hello guys,

I was hoping to get a nice push in the right direction I would like to change the ending of my images sources string... i hope i worded that right.

Anyway my current src's are reading:

<img src="something/something/12345_m.jpg" />

I would like to change it to:

<img src="something/something/12345_t.jpg" />

Any idea guys...Thanks!

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about regex