网站建议:179001057@qq.com

js替换超链接

技术2022-05-12  1

<script type="text/javascript"> var cc=document.getElementById('id_apiPane').getElementsByTagName('li')[0].getElementsByTagName('span')[1]; cc.innerHTML=cc.innerHTML.replace(/<a (.+?)>(.*?)<//a>/ig,"$2"); </script>


最新回复(0)