Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion myjs.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<body>
<input type="text" name="" id="text">
<button class="btn btn-danger mt-3" onclick="myclick()" >Copy</button>
<h5 id="h5"></h5>


<h1 id="header"></h1>
Expand All @@ -34,7 +35,7 @@ <h1 class="modal-title fs-5" id="exampleModalLabel">Submission warning !</h1>
</div>

<!-- <h1>change from efe</h1> -->
<input type="text" id="inp1" style="">
<input type="text" id="inp1">
<input type="text" id="inp2">
<button onclick="add()">add</button>
<table class="table">
Expand Down Expand Up @@ -90,5 +91,9 @@ <h1 class="modal-title fs-5" id="exampleModalLabel">Submission warning !</h1>


// myclick()
function myclick() {
let inpValue = document.getElementById('text')
let dom = document.getElementById('h5').innerHTML = inpValue.value
}

</script>