Difference between revisions of "Test"

From Fellrnr.com, Running tips
Jump to: navigation, search
User:Fellrnr (User talk:Fellrnr | contribs)
User:Fellrnr (User talk:Fellrnr | contribs)
 
(48 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<html>
+
This is not the test page you're looking for. 2. Move along...
<script type="text/javascript">
 
function doCalc()
 
{
 
var trimps=new Array();
 
var total = 0;
 
for(i=1; i<=5; i++)
 
{
 
if(document.getElementById('0'+i).checked)
 
{
 
total += document.getElementById('0'+i).value;
 
}
 
}
 
document.getElementById('Total').innerHTML = "Total: " + total;
 
}
 
</script>
 
 
 
<form style="font-family: Helvetica,Arial,sans-serif;border: solid 2px #40a0c0" id="MonotonyForm">
 
  <table style="text-align: left;" border="1" cellpadding="1" cellspacing="1">
 
      <tr>
 
        <th>Question</th>
 
        <th>strongly disagree</th>
 
        <th>disagree</th>
 
        <th>neutral</th>
 
        <th>agree</th>
 
        <th>strongly agree</th>
 
      </tr>
 
      <tr>
 
      <td>I slept well last night</td>
 
        <td><input type="radio" name="slept" value="1" id="01"/></td>
 
        <td><input type="radio" name="slept" value="2" id="02"/></td>
 
        <td><input type="radio" name="slept" value="3" id="03"/></td>
 
        <td><input type="radio" name="slept" value="4" id="04"/></td>
 
        <td><input type="radio" name="slept" value="5" id="05"/></td>
 
      </tr>
 
  </table>
 
  <label id="Total">Total:</label><br/>
 
  <input type="button" value="Calculate" onclick="doCalc()"/>
 
</form>
 
</html>
 

Latest revision as of 08:43, 28 March 2020

This is not the test page you're looking for. 2. Move along...