Hi there.
I have a simple textarea tag built and also a very simple script which inserts the text of the text value into textarea . Please copy and paste that to understand what I mean . And when you submit send button the new inserted line pushes all others down . I want exactly the opposite . So when you send the text it will appear from the bottom and will push the rest of lines UP(like normal in ordinary live chats). And I also want to uppear a scroll on the right using which i can move it up and see the text that hasve been inserted before.
<html>
<head>
<div id="json"></div>
<style> #textarea { background-color:#F3F3F3;}</style>
</head>
<body onload="insertMessages()">
<script type="text/javascript">
function send(){
document.getElementById("textarea").value+=document.getElementById("text").value+'\n';
}
</script>
<TEXTAREA id="textarea" COLS="80" ROWS="20"></TEXTAREA><br/><br/>
<input type="text" id="text" size="96" >
<input type="button" value="Send" onclick="send()">
</body>
</html>