for example, for the following data
<p id="a">data
I just want to keep
data
is there a quick way to do this?
for example, for the following data
<p id="a">data
I just want to keep
data
is there a quick way to do this?
idea:
1 get the current element name,p
2 get the current element text,data
3 assemble into < element_name > text < / element_name >
Previous: Js implements a (3) (4) (4) = 48
Next: Js acquires the coordinates of a point in svg path path