made some work for pastedb / pastecache..
This commit is contained in:
1 parent
32d3e2dfe1
commit
5ffd0f0c03
63 files changed
+2251
No files matched your search
@@ -0,0 +1,25 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
textarea{
|
||||
overflow: hidden !important;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
function buttonPressed() {
|
||||
var inputText = document.getElementById("inputText").value;
|
||||
var textBox = document.getElementById("myTextBox");
|
||||
textBox.value += inputText + "\n";
|
||||
textBox.scrollTop = textBox.scrollHeight;
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<textarea id="myTextBox" rows="4" cols="50" style="overflow:auto"></textarea>
|
||||
<br>
|
||||
<input type="text" id="inputText">
|
||||
<button onclick="buttonPressed()">Press me</button>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in new issue
Block a user