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.

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, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.