Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Help on jquery

$
0
0
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.




Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>