Hello I have a element <a href='#'>whatsapp-300</a>
and i want select before this mark -
and make it like this <i class='fa fa-whatsapp'></i>
knowing that the word whatsapp is not fixed and can be facebook and others .. i want a way to do this either by JavaScript or jQuery .. and thank you :D(您好,我有一个元素<a href='#'>whatsapp-300</a>
,我想在此标记之前进行选择-
使其像这样<i class='fa fa-whatsapp'></i>
whatsapp这个词是不固定的,可以是facebook和其他人..我想要一种通过JavaScript或jQuery来实现的方法..谢谢:D)
What I mean is to pick the text before this tag -
and put it inside its own element(我的意思是在此标签之前选择文本-
并将其放在自己的元素内)
ask by MSDesCUC translate from so
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…