Is it possible to get window.location.hashonly on server code?
window.location.hash
http://mysite.com/#here
I want to receive here
here
You will need to use AJAX to submit, as it is not directly accessible from the server.
Not without Ajax, but if you can use the query string , you can do this:
http://mysite.com/?here
... and "here" will be available on the server side. From JavasSript, you can access it using window.location.search.
window.location.search
Source: https://habr.com/ru/post/1758442/More articles:Как POST-образные данные изображения из java - javaDo assistants help faster than partial ones? How about the structure of the strings? - performanceSitecore: permission to publish user / role - publishingLINQ query optimization? - linqC #: why bother with a “final” sentence? - c #How to write the SIGPROF handler that calls AsyncGetCallTrace? - profilingUpdate LinearDoubleKeyFrame KeyTime value from code - c #Dashes in XML Builder - ruby | fooobar.comC Programming - Returns a pointer to Freed - cКак вы группируете, ведро и фильтруете результирующие наборы для очень большого набора данных - databaseAll Articles