SHARE
TWEET

Untitled

a guest Mar 12th, 2012 18 Never
  1.  
  2. <script src="dynamicFormGen.js" language="Javascript" type="text/javascript"></script>
  3. <form method="POST">
  4.      <div id="dynamicInput">
  5.           Tittel 1<input type="text" name="tittel">
  6.           Tekst 1<input type="text" name="tekst">
  7.      </div>
  8.      <input type="button" value="Legg til" onClick="addInput('dynamicInput');">
  9.      <input type="button" value="Fjen" onClick="removeInput('dynamicInput');">
  10. </form>
RAW Paste Data
Top