| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Get control of your email attachments. Connect all your Gmail accounts and in less than 2 minutes, Dokkio will automatically organize your file attachments. You can also connect Dokkio to Drive, Dropbox, and Slack. Sign up for free.

View
 

sandbox

Page history last edited by wilbo666 8 years, 2 months ago

<html>
<head>
<script type="text/javascript">

function mAtoPercentage()
{
  document.getElementById("percentage").innerHTML=((18-4)/16)*100;
}
</script>

</head>

<body onload="mAtoPercentage();">


<table>
<tbody>
  <td>mA   = </td>
  <td><form onchange="mAtoPercentage()"><input type="number" name="mA"/></form></td>
  <td>mA</td>
</tr>
<tr>
  <td><strong>Calculated %   = </strong></td>
  <td><strong><p id="percentage">__</p></strong></td>
  <td><strong>% (4-20mA)</strong></td>
 </tr>
</tbody>
</table>
</body>

</html>

Comments (0)

You don't have permission to comment on this page.