hide div if container div has less charecter
<p>I am doing this to develop a read more. How do I hide the read more if the  <code>#pdpTab4</code>  has less than <code>540</code> charecters to begin with. </p>

<pre><code>&lt;script&gt;
    $(function(){
        var myDiv = $('#pdpTab4');
        myDiv.html(myDiv.html().substring(0,540));
        $('#pdpTab4').append('&lt;div id="readOne"&gt;Read More&gt;&lt;/div&gt;');
&lt;/script&gt;
</code></pre>
