Refresh webpage when "#" is there in URL -
Refresh webpage when "#" is there in URL -
i have 1 durandal application , in every view gets rendered "#{viewname}"in url. issue is, @ time if user keeps cursor in address bar , hits "enter" button page not reloaded. how accomplish that? reason why not loaded known tries find element #id in page. question how reload hitting come in in address bar?
try below script whenever want reload page through code.
window.location.reload(true);
url refresh webpage durandal
Comments
Post a Comment