How to exclude hidden variables from createRange object
<p>As mentioned in the Question, How can i exclude hidden elements from the document range object. With the below code I can create entire body text range. But I want to exclude hidden elements   </p>

<pre><code>document.body.createTextRange()
</code></pre>

<p>I am experimenting with the below code  </p>

<pre><code>$(':hidden').blur();
document.body.createTextRange()
</code></pre>

<p>But it does not work for me.  </p>

<p>Please help me on this.</p>
