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

  • Introducing Dokkio, a new service from the creators of PBworks. Find and manage the files you've stored in Dropbox, Google Drive, Gmail, Slack, and more. Try it for free today.

View
 

sandbox

Page history last edited by wilbo666 7 years, 9 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.