Shirin says:
Please reply me.
as the code given by you.
i can add html :-HELLO ONLY.
IF SUPPOSE I TOOK A IMAGE IN DIV AND I WANT TO ADD THAT DIV THEN HOW TO WRITE THE CODE.
Here's the code for DIV with images
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<script type = "text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script type="text/javascript">
$("#btnAdd").live("click", function () {
var dv = $("<div/>").html("<img src = 'http://www.aspforums.net/Avatars/Mudassar.jpg?634578735955470000' style = 'height:50px;width:50px' />");
$("#container").append(dv);
});
</script>
</head>
<body>
<form id="form1" runat = "server">
<div id = "container"></div>
<input type = "button" id = "btnAdd" value = "Add" />
</form>
</body>
</html>
Demo