I have a simple javascript question (I'm not a javascript expert, so excuse me for this simple question ;). We are currently migrating a system and on the old system there should be a simple HTML-link which directs you to the new system (with the same path). My current approach doesn't not work really well:
Information can be found<a href="javascript:'('http://theNewServername:8080/'+(window.location.pathname));">here </a>
This doesn't represent me the right href-link. Can you help me with this 'one-liner'?