, 2 :
nr 1, html (, C:\SomePath\LocalFile.html), :
<a href="file:///C:\SomePath\LocalFile.html">
, javascript.
, (.. ), .
window.location.href=document.getElementById('fileInput').value;
, ..
To solve nr2 , you probably need to add javascript (which is disabled by default for local html files !!) and use "history.previous" to find the path to your public aspx page. Something is fine:
window.location.href= history.previous.replace("myfirstpage.aspx","redirectedpage.aspx");
who will send someone who came to the current page, say, " http://www.publicserver.com/myfirstpage.aspx ", will be redirected to " http://www.publicserver.com/redirectedpage.aspx ",
source
share