replace src charge due li tag
i have html given below:
<ul id="thumbsphotos">
<li src="/images/1alvaston-hall-relaxing-lg.jpg" onclick="updatephoto (this.title)"><img src="/images/1alvaston-hall-relaxing-sl.jpg" width="56" height="56"></li>
<li onclick="updatephoto(this.title)" src=""><img src="" width="56" height="56"></li>
<li onclick="updatephoto(this.title)" src=""><img src="" width="56" height="56"></li>
</ul>
now, i wish reinstate src <li> tags <img> tags controlling innerhtml. this, cost be:
<ul id="thumbsphotos">
<li title="/images/1alvaston-hall-relaxing-lg.jpg" onclick="updatephoto(this.title)"><img src="/images/1alvaston-hall-relaxing-sl.jpg" width="56" height="56"></li>
<li onclick="updatephoto(this.title)" title=""><img src="" width="56" height="56"></li>
<li onclick="updatephoto(this.title)" title=""><img src="" width="56" height="56"></li>
</ul>
Comments
Post a Comment