Remove hyperlink but keep text?

后端 未结 4 1367
挽巷
挽巷 2020-12-09 08:07
Mentalist

Whenever a hyperlink has a title of \"Show Profile\"

4条回答
  •  遥遥无期
    2020-12-09 08:24

    this should work:

    $('a[title="Show Profile"]').contents().unwrap();
    

    Here a Fiddle with the proof.

提交回复
热议问题