2

Have this URL:

http://192.168.1.2/univsched#/csf

How can I parse this using EE tags? I want the value: csf

segment_x tags don't work.

2 Answers 2

7

I believe EE actually throws this value away, and it should. The hash is a front end display feature for your browser, not a url.

Use it for javascript and scroll-to positions on a page.

You should re-think why you need to be using the hash in the first place.

2

I actually solved it by using the javascript

window.location.hash.substr(2);

Thanks.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.