Update index.html
Browse files- index.html +4 -2
index.html
CHANGED
|
@@ -8,13 +8,13 @@
|
|
| 8 |
|
| 9 |
<body>
|
| 10 |
<h1 style="color:green;">
|
| 11 |
-
|
| 12 |
</h1> <b>
|
| 13 |
How To Get URL Parameters
|
| 14 |
With JavaScript?
|
| 15 |
</b>
|
| 16 |
<p> The url used is:
|
| 17 |
-
|
| 18 |
</p>
|
| 19 |
|
| 20 |
<p>
|
|
@@ -34,6 +34,8 @@ https://www.example.com/login.php?a=GeeksforGeeks&b=500&c=Hello Geeks
|
|
| 34 |
console.log("Value is:" + pair[1]);
|
| 35 |
}
|
| 36 |
}
|
|
|
|
|
|
|
| 37 |
</script>
|
| 38 |
</body>
|
| 39 |
</html>
|
|
|
|
| 8 |
|
| 9 |
<body>
|
| 10 |
<h1 style="color:green;">
|
| 11 |
+
Omnibus
|
| 12 |
</h1> <b>
|
| 13 |
How To Get URL Parameters
|
| 14 |
With JavaScript?
|
| 15 |
</b>
|
| 16 |
<p> The url used is:
|
| 17 |
+
Current URL
|
| 18 |
</p>
|
| 19 |
|
| 20 |
<p>
|
|
|
|
| 34 |
console.log("Value is:" + pair[1]);
|
| 35 |
}
|
| 36 |
}
|
| 37 |
+
getParameters()
|
| 38 |
+
|
| 39 |
</script>
|
| 40 |
</body>
|
| 41 |
</html>
|