Home >Web Front-end >HTML Tutorial >How to write absolute address_html/css_WEB-ITnose

How to write absolute address_html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-24 12:19:081278browse

比方说98d9414cc5c4a03f06f79ce4885eb4975db79b134e9f6b82c0b36e0489ee08ed  怎么改成绝对地址 现在是相对地址。。


回复讨论(解决方案)

这个是域名啊。。。
难道要http://a6965921z.taobao.com

<script>var str = '<a href="a6965921z.taobao.com"></a>';str = str.replace(/(<a.*href\=\")([^\"]*)(.*)<\/a>/g,"$1http://$2$3");alert(str);</script>

改绝对地址有那么麻烦么。。坑爹啊

你把这个地址前的所有地址加进去不行吗?

把浏览器地址栏前面的加进去就可以了

有http的就是绝对地址,比如 http://www.baidu.com/

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn