[jQuery] Subtract part of url to pass new url to variable
[jQuery] Subtract part of url to pass new url to variable
I have an image url --- it is enclosed in a href. "images/flavor/websites/oranges_id_t.jpg" title="oranges" How do I get the url MINUS the _t so it ends up being "images/flavor/websites/oranges_id.jpg" title="oranges" that I can pass to a variable of this ? -- View this message in context: http://www.nabble.com/Subtract-part-of-url-to-pass-new-url-to-variable-tp22375932s27240p22375932.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.