Hi
See the below example :
<html>
<head><title></title></head>
<body>
<div style="width: 190px; height: 190px; overflow: scroll; padding: 5px">
<script language=javascript>
document.write("<form>");
for(i=1;i<=10;i++){
document.write("<input type=text value="+i+"><br>");
}
document.write("</form>");
</script>
</div>
</body>
</html>
Regards,
Sanjay S Nair
Oct 19, 2009