jQuery parent usage
<p>First time using jQuery parent and got confused, here's my html:</p>

<pre><code>&lt;div id="friends_inveni" class="friends_rec" style=""&gt;
    &lt;br&gt;
    &lt;div style="height: 280px; overflow-y: auto;"&gt;
        &lt;div style="width:150px;float:left;font-size:11px;color:White;"&gt;
            &lt;input type="checkbox" name="friends" value="3265" id="friend_3265"&gt;
            &lt;img style="width:24px;vertical-align:middle;" src="https://graph.facebook.com/661382259/picture"&gt;
            Test1
        &lt;/div&gt;
        &lt;div style="width:150px;float:left;font-size:11px;color:White;"&gt;
            &lt;input type="checkbox" name="friends" value="3265" id="friend_3265"&gt;
            &lt;img style="width:24px;vertical-align:middle;" src="https://graph.facebook.com/599567764/picture"&gt;
            Test2
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;br clear="all"&gt;
    &lt;div class="action_new_comment"&gt;
        &lt;textarea class="action_comment_input" onkeyup="check_height(this);" style="height:36px;"&gt;&lt;/textarea&gt;
        &lt;br clear="all"&gt;
        &lt;a class="action_btn" style="font-size:11px;" name="comment" id="A1"&gt;Send Recommendation&lt;/a&gt;
    &lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>Here's my jQuery code:</p>

<pre><code>jQuery(document).ready(function() {
        $(".action_btn").live('click', function() {
            var friends = new Array();
            $(this).parents('.recommend').find('input:checked').each(function(k) { friends[k] = $(this).val(); });
            var comment = $(this).parents('.recommend').find('textarea').val();

            if (friends.length == 0) {
                alert('Please select at least one friend.');
            } else {
                $.post("update.php",
                    { uid: &lt;?php echo $_SESSION['uid']; ?&gt;, mid: &lt;?php echo $_GET['mid']; ?&gt;, friends: friends, comment: comment },
                    function() {
                    var newComment = $('&lt;div  class="bubble_confirmation"&gt;&lt;h1&gt;Recommendation Sent!&lt;/h1&gt;&lt;br /&gt;&lt;br &gt; &lt;a href="#" onclick="$(this).parent(\'div\').remove();return false;"&gt;Send more&lt;/a&gt;&lt;/div&gt;');
                        $(this).parents('.recommend').append(newComment.fadeIn());
                        $(this).parents('.recommend').find("input:checkbox:checked").attr("checked", "");
                        $(this).parents('.recommend').find('.action_comment_input').val('');
                    });
            }
        });
    });
</code></pre>

<p>Issue is that:
1. I can't get the content of the textbox
2. I can't get the array of userid</p>

<p>Why is this?</p>
