January 14, 201412 yr On Google translate, when you type into the the text div, the text appears in the url without the page reloading.. How is this done?
January 15, 201412 yr Javascript. In very, very simple terms they're binding the content of the text area to window.location.hash, then using the url to deliver the output.If you open your browsers web console you can try it yourself..Enter: window.location.hash = 'Your_name' [return] and your url should update to /#Your_name
January 16, 201412 yr Author Ok thanks alot for pointing me in the right direction!! But you guessed it! how would i take the url in real time back from the url? Edited January 16, 201412 yr by sergRamalli
Create an account or sign in to comment