title: adding a text input field through js or jQuery when clicking on another input field in rails 3
body: <p>I'm building a nested form in rails 3.1 and instead of pressing the "add" button i want to automaticly add an input field when typing text in an empty input field (just like making a question in facebook and adding poll options). But i also want to only add a field if there are characters typed in the field if the characters are removed the extra field should also be removed.</p>
  
  <p>I am working with rails 3.1 and so jQuery and jquery-rails are included in my gem, i don't know coffee script yet.</p>