Set the value of all inputs that are children of a jquery object assigned to a variable
<p>I have a function to which I pass a jquery object</p>

<pre><code>function throwBox(div){
    if(typeof div !== 'undefined'){
        div.children(":text").val('');
    }
    div.css({'left':'-10000px'});
}
</code></pre>

<p>which I would call like so</p>

<pre><code>throwBox($("#myDiv"));
</code></pre>

<p>I can't seem to find the right combination to make the function clear the text inputs which are children of my argument object. </p>
