Start Function if input length > 3 characters
<p><strong>Part 1:</strong> I want the .highlight() fonction to be active only when the input length is larger than 3. After 3 characters, I want every keystroke to look in the body for this value and apply the .highlight() function (which works fine when using a static value). I am using it as a find in page function.</p>

<p>So here's what I have tried, but without success:</p>

<pre><code>&lt;script type="text/javascript"&gt;

$(document).ready(function() {
if($("#search_doc_input").length &gt; 3) {
$('#search_doc_input').keydown(function() {
$(body).highlight($(this).val()); 
});
}
});

&lt;/script&gt;
</code></pre>

<p><strong>Part 2:</strong> Also, what would be the best way, once the highlight function is active for a certain value, to scroll to the first instance of the new <code>&lt;span class="highlight"&gt;</code> added (which is what the .highlight() function does)?</p>
