Replace # keyword from to the strings from the specified <div></div> using Jquery
- by user568085
Hi friends,
I have problem to replace keyword from input string
I have
<div id="Wrap">
<span class="common"><div id="main0"> to test it #sky </div></span>
</div>
I want to like this :
<div id="Wrap">
<span class="common">
<div id="main0"> to test <a href="http://mysite.com/search?q=#sky">#sky</a> </div>
</span>
</div>
I tried with replace in jquery but not getting ...
I finding solution in jquery or javascript
Please help me...
abhishek