How can I change the text from a Facebook share button "shareOnfacebook" with "shareOnFB" only from this div class="result-share-buttons-container" ?
Asked
Active
Viewed 44 times
0
-
Possible duplicate of [How to Get Element By Class in JavaScript?](https://stackoverflow.com/questions/3808808/how-to-get-element-by-class-in-javascript) – Toan Tran May 26 '17 at 06:57
-
You should use getElementsByClassName() method – Toan Tran May 26 '17 at 06:57
-
getElementsByClassName() will fix the issue – Ravi Chaudhary May 26 '17 at 07:27