Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Mar 12th, 2012  |  syntax: HTML  |  size: 0.42 KB  |  hits: 17  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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>