From RuneGlory
Jump to: navigation, search
(Created page with "<html> <body> <form> Select your favorite fruit: <select id="mySelect"> <option value="apple">Apple</option> <option value="orange">Orange</option> <option value="pinea...")
 
Line 5: Line 5:
 
Select your favorite fruit:
 
Select your favorite fruit:
 
<select id="mySelect">
 
<select id="mySelect">
   <option value="apple">Apple</option>
+
   <option value="this would be your hours">gmt -5</option>
   <option value="orange">Orange</option>
+
   <option value="askdjfl;asdkjf;asldkfj;asdlkfjsal;dkfjsa;dlfkjas;dlfkjas;dlfkjasd;lfkjsadf;kljasdf;askjdfdgwerwervewrvvrtberbybtybtybtybtybetb">gmt -4</option>
   <option value="pineapple">Pineapple</option>
+
   <option value="https://imgur.com/saHJYFp">gmt -3</option>
 
   <option value="banana">Banana</option>
 
   <option value="banana">Banana</option>
 
</select>
 
</select>
Line 27: Line 27:
 
</body>
 
</body>
 
</html>
 
</html>
 +
 +
 +
 +
<html><body>
 +
<button type="button"
 +
onclick="document.getElementById('demo').innerHTML = Date()">
 +
Click me to display your current Date and Time.</button>
 +
<p id="demo"></p>
 +
</body></html>

Revision as of 22:58, 21 May 2018

Select your favorite fruit:

Click the button to return the value of the selected fruit.