title: How to grab the content of randomly intermingled inputs and paragraphs
body: <p>Let's say I have some HTML like this:</p>
  
  <p>BEWARE! It's in <a href="http://jade-lang.com/" rel="nofollow">Jade</a>       </p>
  
  <pre><code>   p Dear Lorem ipsum,                                                  
     p Lorem Ipsum is simply dummy text of the printing and typesetting 
        input(type="text", placeholder="phone/mail")                          
        | on [HERE]                                                           
        input(type="text", placeholder="date")                                
        | and identified the debt as [HERE]                                   
        input(type="text", placeholder="lorem")      
        | . bled it to make a type specimen book. It has survived not only five centuries, but also the leap into.                                                                       
     p  dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknow
        input(type="text", placeholder="mediums of communication", value="Messaging Service")
        | den-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites 
     p Thank you for your cooperation.                                       
  
     p Sincerely,
     button#send(value="submit")
  </code></pre>
  
  <p>How would I, on $("#send").click, collect all the paragraphs so that the inputs are slipped nicely in there.</p>
  
  <p>For example, I would like to know how to write a function that takes all above as input, and outputs:</p>
  
  <pre><code>[
     "Dear Lorem ipsum,",
     "Lorem Ipsum is simply dummy text of the printing and typesetting 555-1234 on [HERE] some date and identified the debt as [HERE] this is inputted text. bled it to make a type specimen book. It has survived not only five centuries, but also the leap into.",
     "dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknow this is an inputted medium of communication den-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites",
     "Thank you for your cooperation.",
     "Sincerely"
  ]
  </code></pre>