javascript - The onclick function is not working in safari -
kindly me on because code works in chrome onclick function ok when run in safari in won't go in #download id , won't reload page.
here code:
<a href="#download" onclick='window.location.reload(true);'> <div class="download"> <p class="download_text">downloaded</p> </a>
can try function:
function reload() { if (window.location.href != "download.html#") { window.location.href="download.html#" } } reload()
Comments
Post a Comment