I have one image slider webpage. In that many image tags are there. So whenever i want to add image in slider, every time i am adding tags in html. Is it possible to do without adding image tag.
<div id="slideshow" class="slideshow">
<img src="images/1.jpeg" width="620" height="320" />
<img src="images/2.jpeg" width="620" height="320" />
<img src="images/3.jpeg" width="620" height="320" />
<img src="images/4.jpeg" width="620" height="320" />
</div>
If i want to add new image, i have to add new img tag.Is it possible to add images without without <img>
in the html??
I have tried with jquery. there i am not getting images from the folder.
$('<img />')
.attr('src', 'images/')
.appendTo('#div3')
How we can solve this problem ?