Quantcast
Channel: JavaScript puts # in URL, new page opens halfway - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by David Hedlund for JavaScript puts # in URL, new page opens halfway

Your script uses AJAX to fetch a new page and replace the contents of the current page with the loaded content.The '#pagename` is probably just there for making the browser's back button work. You...

View Article


JavaScript puts # in URL, new page opens halfway

I'm working on this website to get it responsive, which is a static HTML website which uses some JavaScript to load index.html on every page.The problem is that the JavaScript code puts a # before...

View Article
Browsing latest articles
Browse All 2 View Live