Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as PHP by algojo ( 16 years ago )
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>VSOER</title>
</head>
[removed][removed]  
[removed]

$(function() { // when document has loaded

 var i = $('input').size() + 1; // check how many input exists on the document and add 1 for the add command to work

 $('a#add').click(function() { // when you click the add link
  $('<p><input type="text"  /></p>').appendTo('body'); // append (add) a new input to the document.
// if you have the input inside a form, change body to form in the appendTo
  i++; //after the click i will be i = 3 if you click again i will be i = 4
 });

 $('a#remove').click(function() { // similar to the previous, when you click remove link
 if(i > 1) { // if you have at least 1 input on the form
  $('input:last').remove(); //remove the last input
  i--; //deduct 1 from i so if i = 3, after i--, i will be i = 2
 }
 });

 $('a.reset').click(function() {
 while(i > 2) { // while you have more than 1 input on the page
  $('input:last').remove(); // remove inputs
  i--;
 }
 });

});
[removed]
<style type="text/css">
#internal {float: right; width: 150px; padding: 2px;}
</style>
<div id="internal">
<img src="image/inter.jpg" alt="" />
</div>
<body>
<form id="form1" name="form1" method="post" action="">
  <p align="center">Apendix E</p>
  <p align="center">Engineering Report  </p>
  <table width="100%" border="1">
    <tr>
      <td width="24%">Date Issued</td>
      <td width="24%"><label>
        <input type="text" name="textfield" id="textfield" />
      </label></td>
      <td width="18%">Report Ref Number</td>
      <td width="34%"><label>
        <input type="text" name="textfield6" id="textfield6" />
      </label></td>
    </tr>
    <tr>
      <td>Issued By</td>
      <td><label>
        <input type="text" name="textfield2" id="textfield2" />
      </label></td>
      <td> </td>
      <td> </td>
    </tr>
    <tr>
      <td>Part Name</td>
      <td><label>
        <input type="text" name="textfield3" id="textfield3" />
      </label></td>
      <td>Model/Line</td>
      <td><label>
        <select name="select" id="select">
        </select>
        <select name="select2" id="select2">
        </select>
      </label></td>
    </tr>
    <tr>
      <td>Part Number</td>
      <td><label>
        <input type="text" name="textfield4" id="textfield4" />
      </label></td>
      <td>Condition</td>
      <td><label>
        <input type="radio" name="minor" id="radio" value="radio" />
        minor 
        <input type="radio" name="radio2" id="radio2" value="radio2" />
      major
      <input type="radio" name="radio3" id="radio3" value="radio3" />
      critical</label></td>
    </tr>
    <tr>
      <td>Part Lot</td>
      <td><label>
        <input type="text" name="textfield5" id="textfield5" />
      </label></td>
      <td> </td>
      <td> </td>
    </tr>
  </table>
  <table width="100%" border="1">
    <tr>
      <td><p>Description Of Problem/ Purpose:</p>
        <p>
          <label>
          <textarea name="textarea" id="textarea" cols="115" rows="5"></textarea>
          </label>
        </p>
      </td>
    </tr>
  </table>
  <table width="100%" border="1">
    <tr>
      <td width="50%" bgcolor="#999999"><strong><em>To Be Complited By Responsible Department</em></strong></td>
      <td width="50%" bgcolor="#999999"><strong><em>Replied By:</em></strong></td>
    </tr>
    <tr>
      <td colspan="2"><p>Analyis & Root Cause:</p>
      <p>
        <label>
        <textarea name="textarea2" id="textarea2" cols="115" rows="5"></textarea>
        </label>
      </p>
      <p>Corrective Action:</p>
      <table width="100%" border="1">
        <tr>
          <td colspan="2"><div align="center">Action</div></td>
          <td width="13%">Effective Date</td>
          <td width="14%">PIC</td>
          <td width="21%" rowspan="8"><table width="76%" border="1" align="center">
              <tr>
                <td>checked by</td>
              </tr>
              <tr>
                <td> </td>
              </tr>
                    </table>            <div align="center"></div></td>
        </tr>
        <tr>
          <td width="10%" rowspan="8">Temporary</td>
          <td width="42%"> </td>
          <td> </td>
          <td> </td>
          </tr>
        <tr>
          <td> </td>
          <td> </td>
          <td> </td>
          </tr>
        <tr>
          <td> </td>
          <td> </td>
          <td> </td>
          </tr>
        <tr>
          <td> </td>
          <td> </td>
          <td> </td>
          </tr>
        <tr>
          <td> </td>
          <td> </td>
          <td> </td>
          </tr>
        <tr>
          <td> </td>
          <td> </td>
          <td> </td>
          </tr>
        <tr>
          <td> </td>
          <td> </td>
          <td> </td>
          </tr>
        <tr>
          <td> </td>
          <td> </td>
          <td> </td>
          <td rowspan="8"><table width="82%" border="1" align="center">
            <tr>
              <td>Approved by</td>
            </tr>
            <tr>
              <td> </td>
            </tr>
          </table></td>
        </tr>
        <tr>
          <td rowspan="7">Permanent</td>
          <td> </td>
          <td> </td>
          <td> </td>
          </tr>
        <tr>
          <td> </td>
          <td> </td>
          <td> </td>
          </tr>
        <tr>
          <td> </td>
          <td> </td>
          <td> </td>
          </tr>
        <tr>
          <td> </td>
          <td> </td>
          <td> </td>
          </tr>
        <tr>
          <td> </td>
          <td> </td>
          <td> </td>
          </tr>
        <tr>
          <td> </td>
          <td> </td>
          <td> </td>
          </tr>
        <tr>
          <td> </td>
          <td> </td>
          <td> </td>
          </tr>
      </table>      
      <p> </p></td>
    </tr>
  </table>
  <table width="100%" border="1">
    <tr>
      <td><p>Verification:</p>
        <table width="98%" border="1">
          <tr>
            <td width="79%" rowspan="2"><label>
              <textarea name="textarea3" id="textarea3" cols="80" rows="5"></textarea>
            </label></td>
            <td width="21%"><table width="76%" border="1" align="center">
              <tr>
                <td>checked by</td>
              </tr>
              <tr>
                <td> </td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td><table width="76%" border="1" align="center">
              <tr>
                <td>checked by</td>
              </tr>
              <tr>
                <td> </td>
              </tr>
            </table></td>
          </tr>
        </table>        
        <table width="100%" border="0">
          <tr>
            <td width="36%">Result :</td>
            <td width="64%"><label>
              <input type="radio" name="radio4" id="radio4" value="radio4" />
            OK 
            <input type="radio" name="radio5" id="radio5" value="radio5" />
            NG</label></td>
          </tr>
          <tr>
            <td>Next Follow-up Date (If Result is "NG"):</td>
            <td><label>
              <input type="text" name="textfield7" id="textfield7" />
            </label></td>
          </tr>
        </table>
      <p> </p></td>
    </tr> <p> </p>
  </table>
 
  <table width="100%" border="0">
    <tr>
      <td><label>
        <div align="right">
          <input type="submit" name="button" id="button" value="Submit" />
          </div>
      </label></td>
      <td><label>
        <input type="reset" name="button2" id="button2" value="Reset" />
      </label></td>
    </tr>
  </table>
  <p align="left"> </p>
  <p><a href="#" id="add">Add</a>  
       <a href="#" id="remove">Remove</a></p>
       <div id="action">
  <table width="100%" border="1">
    <tr>
      <td>Action</td>
      <td>Effective Date</td>
      <td>PIC</td>
    </tr>
    <tr>
      <td><label>
        <textarea name="textarea4" id="textarea4" cols="45" rows="1"></textarea>
      </label></td>
      <td><label>
        <input type="text" name="textfield8" id="textfield8" />
      </label></td>
      <td><label>
        <input type="text" name="textfield9" id="textfield9" />
      </label></td>
    </tr>
  </table>
  </div>
</form>
</body>
</html>

 

Revise this Paste

Children: 17681
Your Name: Code Language: