title: jQuery .attr('value') returns undefined for text area
body: <p>I have a page which dynamically brings in a form via ajax and displays it in a modal div (one that sits above an overlay div that covers the entire page). This is to let them save certain data before a window closes. Everything works great except one thing.</p>
  
  <pre><code>$('#save_close_form').find('*[name]').each(function(index, form_element) {
      var cfe = (form_element.jquery == undefined ? $(form_element) : form_element);
      console.log(cfe.attr('name') + " =&gt; " + cfe.attr('value'));
      if (cfe.attr('name').match(/data\[/)) {
          if (cfe.attr('type') == 'checkbox') {
              if (cfe.attr('checked')) {
                  map[cfe.attr('name')] = 'on';
              }
              else {
                  map[cfe.attr('name')] = '';
              }
          }
          else if (cfe.attr('type') == 'radio') {
              // only get checked radio buttons
              if (cfe.attr('checked')) {
                  map[cfe.attr('name')] = cfe.attr('value');
              }
          }
          else {
              map[cfe.attr('name')] = cfe.attr('value');
          }
      }
  });
  </code></pre>
  
  <p>The part in the else {} clause at the end triggers for <code>TextArea</code> and <code>input type="text"</code> elements, but for some reason it always sees <code>cfe.attr('value');</code> as <code>undefined</code> for the <code>TextArea</code>. I'm using FF6.0 with jQuery 1.6 for this.</p>