From RuneGlory
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <html> | + | <html><body> |
− | <body> | ||
− | |||
− | |||
<button type="button" | <button type="button" | ||
onclick="document.getElementById('demo').innerHTML = Date()"> | onclick="document.getElementById('demo').innerHTML = Date()"> | ||
− | Click me to display your Date and Time.</button> | + | Click me to display your current Date and Time.</button> |
+ | <p id="demo"></p> | ||
+ | </body></html> | ||
+ | |||
+ | <html> | ||
+ | <body> | ||
+ | <button type="button" onclick="myFunction()">GMT -5</button> | ||
+ | <p id="demo"></p> | ||
+ | <script> | ||
+ | function myFunction() { | ||
+ | document.getElementById("demo").innerHTML = "this would be table";} | ||
+ | </script> | ||
+ | </body> | ||
+ | </html> | ||
+ | <html> | ||
+ | <body> | ||
+ | <button type="button" onclick="myFunction()">GMT -5</button> | ||
<p id="demo"></p> | <p id="demo"></p> | ||
− | + | <script> | |
+ | function myFunction() { | ||
+ | document.getElementById("demo").innerHTML = "this would be gmt -5 table"; | ||
+ | } | ||
+ | </script> | ||
+ | </body> | ||
+ | </html> | ||
+ | <html> | ||
+ | <body> | ||
+ | <button type="button" onclick="myFunction()">GMT -5</button> | ||
+ | <p id="demo"></p> | ||
+ | <script> | ||
+ | function myFunction() { | ||
+ | document.getElementById("demo").innerHTML = "this would be gmt -5 table"; | ||
+ | } | ||
+ | </script> | ||
+ | </body> | ||
+ | </html> | ||
+ | <html> | ||
+ | <body> | ||
+ | <button type="button" onclick="myFunction()">GMT -5</button> | ||
+ | <p id="demo"></p> | ||
+ | <script> | ||
+ | function myFunction() { | ||
+ | document.getElementById("demo").innerHTML = "this would be gmt -5 table"; | ||
+ | } | ||
+ | </script> | ||
+ | </body> | ||
+ | </html> | ||
+ | <html> | ||
+ | <body> | ||
+ | <button type="button" onclick="myFunction()">GMT -5</button> | ||
+ | <p id="demo"></p> | ||
+ | <script> | ||
+ | function myFunction() { | ||
+ | document.getElementById("demo").innerHTML = "this would be gmt -5 table"; | ||
+ | } | ||
+ | </script> | ||
+ | </body> | ||
+ | </html> | ||
+ | <html> | ||
+ | <body> | ||
+ | <button type="button" onclick="myFunction()">GMT -5</button> | ||
+ | <p id="demo"></p> | ||
+ | <script> | ||
+ | function myFunction() { | ||
+ | document.getElementById("demo").innerHTML = "this would be gmt -5 table"; | ||
+ | } | ||
+ | </script> | ||
</body> | </body> | ||
− | </html> | + | </html> |
− | |||
Line 203: | Line 263: | ||
<input type="submit"> | <input type="submit"> | ||
</form> | </form> | ||
− | < | + | |
− | <script> | + | |
− | function | + | |
− | + | </body> | |
− | + | </html> | |
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | <html> | ||
+ | |||
+ | <body> | ||
+ | <form id="example" name="example"> | ||
+ | |||
+ | <select id="voltage" onchange="updateText('voltage')"> | ||
+ | <option value="this would be data">gmt -5</option> | ||
+ | <option value="this would also be data">gmt -4</option> | ||
+ | </select> | ||
+ | |||
+ | <br /> | ||
+ | <input type="text" value="" id="voltageText" /> | ||
+ | </form> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | |||
+ | function updateText(type) { | ||
+ | var id = type+'Text'; | ||
+ | document.getElementById(id).value = document.getElementById(type).value; | ||
} | } | ||
</script> | </script> | ||
+ | </body> | ||
− | |||
</html> | </html> | ||
+ | |||
+ | |||
+ | //https://www.w3schools.com/code/tryit.asp?filename=FT2DOGRE1KSP |
Latest revision as of 08:30, 7 July 2018
Event Promotions
Select your timezone to see which hour an event will appear
//https://www.w3schools.com/code/tryit.asp?filename=FT2DOGRE1KSP