Proper URL forming with a query string and an anchor hashtag
?var=var#hash Everything after # is client side. Also, look into URL rewriting to get rid of ugly ?var=var.
?var=var#hash Everything after # is client side. Also, look into URL rewriting to get rid of ugly ?var=var.
No need for jQuery var type = window.location.hash.substr(1);
If you want to get the value after the hash mark or anchor as shown in a user’s browser: This isn’t possible with “standard” HTTP as this value is never sent to the server (hence it won’t be available in $_SERVER[“REQUEST_URI”] or similar predefined variables). You would need some sort of JavaScript magic on the … Read more