How can I put a slash bevore a particular src-attribut
Hi folks,
i have to work with absolute path (because of mod_rewrite) in my little CMS. But I cant't teach my editor (TinyMCE) to put a slash bevore the image-path.
Now I want to do it with jQuery but I dont know how! This is how my image-element looks like:
- <img src="useruploads/images/some_img.jpg">
and I want to change it to this:
- <img src="/useruploads/images/some_img.jpg">
there are a lot of images with differnt names on the site, so how can I match only these ones who has this specific src-attributs and put a slash bevore "useruploads" ?
Thanks a lot
Richard