StessConverter 2

StessConverter 2 - <INPUT TYPE=button...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Sheet1 Page 1 <HTML> <HEAD><TITLE>Stress Converter</TITLE> <SCRIPT LANGUAGE=Javascript> <!-- function ksiFunction(){ document.form.box.value=""+document.form.num.value*0.001+" ksi" } function MPaFunction(){ document.form.box.value=""+document.form.num.value*0.00689475728+" MPa" } //--></SCRIPT> </HEAD> <BODY> <FORM NAME=form> Please enter a stress value in psi: <INPUT TYPE=text NAME=num VALUE="" SIZE=10><BR>
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: &lt;INPUT TYPE=button VALUE=&quot;Click here to convert to ksi&quot; onclick=&quot;ksiFunction()&quot;&gt;&lt;BR&gt; &lt;INPUT TYPE=button VALUE=&quot;Click here to convert to MPa&quot; onclick=&quot;MPaFunction()&quot;&gt;&lt;BR&gt; &lt;TEXTAREA NAME=box ROWS=3 COLS=27 WRAP=virtual&gt;&lt;/TEXTAREA&gt;&lt;BR&gt; &lt;INPUT TYPE=reset VALUE=&quot;Reset Form&quot;&gt; &lt;/FORM&gt; &lt;/BODY&gt; &lt;/HTML&gt;...
View Full Document

Ask a homework question - tutors are online