2016-08-05 5 views

答えて

0

ほとんどのブラウザは、デフォルト、代わりのhistory.go(-1)または同様でそうであるように、このソリューションは、リンク先のページホバー上のURLを示すという利点があります。

1 <script> 
2 document.write('<a href="' + document.referrer + '">Go Back</a>'); 
3 </script>' 
0

試用版

<input type="submit" name="cancel" value="cancel" onclick="goPrev()"/> 

<script> 
function goPrev() 
{ 
window.history.back(); 
} 
</script> 
関連する問題