Currently, when a user goes to the following URL:
www.foo.com/details.hmtl#id=123
The server returns 'details.html' and then performs a client-side Ajax call once the page is returned to load the data for the item with id=123. It uses the BBQ Plugin for JQuery
Is there any way to retrieve the parameters following the hashmark on the server so that when the page is initially being returned by the server, it can be returned containing the details for id=123
.
This is desired so that details will still be displayed whether or not Javascript is turned on in the user's browser. And if they have Javascript turned on, they can change out the content via Ajax by clicking the existing buttons on the site.
Thanks in advance for all help
EDIT:
The pages are currently being returned in the following manner:
id = self.request.get("id")
template_values= {'id': id}
path = os.path.join(os.path.dirname(__file__), 'details.html')
self.response.out.write(template.render(path, template_values))