Hi All,
I have the below DIV tag.
<div class=”myClass”>
<div>
<div class=”removeThisClass”>
<a href=”http://site1”>site1</a>
<a href=”http://site2”>site2</a>
<span class=”welcomeTxt”></span>
</div>
</div>
</div>
Please help me on the below tasks using jquery & let me know if you have any queries.
1) how to get the site1 href value?
2) how to set the span text?
3) how append a new class to the span tag?
Regards,
Kumar.
I have the below DIV tag.
<div class=”myClass”>
<div>
<div class=”removeThisClass”>
<a href=”http://site1”>site1</a>
<a href=”http://site2”>site2</a>
<span class=”welcomeTxt”></span>
</div>
</div>
</div>
Please help me on the below tasks using jquery & let me know if you have any queries.
1) how to get the site1 href value?
2) how to set the span text?
3) how append a new class to the span tag?
Regards,
Kumar.