what is the # symbol in the url

后端 未结 5 995
失恋的感觉
失恋的感觉 2020-12-10 13:28

I went to some photo sharing site, so when I click the photo, it direct me to a url like

www.example.com/photoshare.php?photoid=1234445

. and w

5条回答
  •  难免孤独
    2020-12-10 13:50

    hey i used sumthing like this .... simple but useful

           location.href = data.url.replace(/%2523/, '%23');
    

    where data.url is my original url . It substitutes the # in my url

提交回复
热议问题