I try to make onpage searches like in modern browsers with STRG + F. I tried:
$("#mydiv").find(':contains(\'mySearchString\')').prepend('found you!');
The problem is that jQuery adds found you multiple times, bedause there are multipile elements who has the string. Example:
Found you<div>
Found you<ul>
Found you<li>
Found you<a>mySearchString</a>
</li>
</ul>
</div>