i have a URL like:
http://localhost/myproject/contact-us#feedback
i want to store full URL in a variable including #feedback
.
How to do this???
i have a URL like:
http://localhost/myproject/contact-us#feedback
i want to store full URL in a variable including #feedback
.
How to do this???
You could read the URL including #feedback
with JavaScript and store it in your database via Ajax.
Got the answer:
fetching the URL using JS like:
var url = location.href;
Thank you every one for suggestions :)