title: d3: Brush with an input field
body: <p>I'm making a d3 brush similar to the demo shown <a href="http://bl.ocks.org/mbostock/6232620" rel="nofollow">here</a>. However, I'd like to have the brush contain an <code>&lt;input&gt;</code> element, and when the brush is moved the <code>&lt;input&gt;</code> should move along with it. </p>
  
  <p>Is this possible, perhaps by using a foreignObject? </p>