Can I read the hash portion of the URL on my server-side application (PHP, Ruby, Python, etc.)?

前端 未结 12 2519
无人及你
无人及你 2020-11-21 04:37

Assuming a URL of:

www.example.com/?val=1#part2

PHP can read the request variables val1 using the GET array.

Is the ha

12条回答
  •  悲&欢浪女
    2020-11-21 05:06

    We can do it with another approach too, Like first of all get the hash value from js and call the ajax using that parameter and can do whatever we want

提交回复
热议问题