Actually i wanted to generate images dynamically with hyperlinks through jquery which is appended in <div id='data'></div>
.
Through this code now i am able to create images but i am not getting idea to provide hyperlinks to the generated images. Just for the sake of simplicity, here I have inserted only a single image.
<html>
<head>
<script src="jquery.min.js" type='text/javascript'></script>
<script type='text/javascript'>
$('#gallery h3').click(function(){{
$('<img></img>')
.attr('src', 'photo.jpg')
.hide()
.load(function() {
$(this).fadeIn(4000);
})
.appendTo($('#data'));
}
</script>
</head>
<body>
<div id='gallery'>
<h3 id='gdata'><a href='#'>Browsers</a></h3>
<div id='data'></div>
</div>
</body></html>