can i adding some value attribute on all src tags in current html page with jquery ?
in example this html :
<img src="images/slider/slide4.jpg" />
to be like this :
<img src="http://www.website.com/images/slider/slide4.jpg" />
thanks guys
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Edit: You don’t need the
eachloop, ignore previous code (keeping it for reference); theattrfunction already does it for you!See the last example in here.