-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtext.html
53 lines (45 loc) · 1.14 KB
/
text.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html>
<html>
<head>
<title>Example</title>
<script src="sendData.js"> </script>
<script scr="fetchData.js"> </script>
<style type= "text/css">
#messagebox{
text-align: left;
font-family: comoic;
resize: none;
}
#textbox{
height: 30px;
}
.myDiv{
height: 400px;
width: 400px;
/*DON'T DELETE THIS FOR FUTURE IMPROVEMENTS*/
/*height: 100px;
width: 100px;
position: absolute;
left: 50%;
margin-left: -50px;
top: 50%;
margin-top: -50px;*/
}
</style>
</head>
<body background="http://webneel.com/wallpaper/sites/default/files/images/08-2018/1-nature-wallpaper-grass-hd.jpg">
<div class="myDiv">
<form >
Messages:<br>
<textarea id="messagebox" type="text" name="textarea" cols="50" rows="25" readonly style="background-color: #a0ff76 "></textarea>
</form>
<form action="dbinsert.php" method="post" target="_blank" >
My text:<br>
<input id="textbox" type="text" name="your_text">
<input type="submit">
</form>
<button type="button" onclick="loadMsg()">load massage</button>
<button type="button" onclick="sendMsg()">send!</button>
</div>
</body>
</html>