Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 26th, 2012  |  syntax: None  |  size: 0.33 KB  |  hits: 14  |  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. <h1>Test for binding data into dynamic forms using javascript closures</h1>
  2. This creates multiple divs (with each click on the add button) and binds the contained control to
  3. an element of the <code>data</code> array.
  4.  
  5. <br/><a id="add_button" href="#">Click me to add a new datum</a><br/>
  6. <div id="target_div"></div>
  7.  
  8. <div id="data"></div>