Skip to content

Commit

Permalink
Update scrap.html
Browse files Browse the repository at this point in the history
  • Loading branch information
mochagod123 authored Nov 26, 2024
1 parent b998862 commit 283d0c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scrap.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script>
function Run() {
const xhr = new XMLHttpRequest();
xhr.open("GET", document.getElementById("url"));
xhr.open("GET", document.getElementById("url").value);
xhr.send();
xhr.responseType = "text";
xhr.onload = () => {
Expand All @@ -16,4 +16,4 @@
}
</script>

<input type="text" id="url"><button onclick="Run();">Go!</button>
<input type="text" id="url"><button onclick="Run();">Go!</button>

0 comments on commit 283d0c3

Please sign in to comment.