-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscript.js
More file actions
26 lines (22 loc) · 764 Bytes
/
script.js
File metadata and controls
26 lines (22 loc) · 764 Bytes
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
//alert("connected")
var myText = document.getElementById("textarea").value
function show() {
let lbl = document.getElementById("prtm");
let empName = document.getElementById( "textarea" ).value;
lbl.innerText = empName;
return 0;
}
var myText1 = document.getElementById("textarea1").value
function show1() {
let lbl = document.getElementById("prtm1");
let empName = document.getElementById( "textarea1" ).value;
lbl.innerText = empName;
return 0;
}
var myText2 = document.getElementById("textarea2").value
function show2() {
let lbl = document.getElementById("prtm2");
let empName = document.getElementById( "textarea2" ).value;
lbl.innerText = empName;
return 0;
}