1
Answer

reloading page in asp.net

Chinna Netha

Chinna Netha

9y
362
1
my page is reloading
 
 
$(document).ready(function () {
$(window).load(function () {
if (localStorage.getItem('username') != null ) {
window.location.replace("/onlineexamsworld/users?email=" + localStorage.getItem("username") + "");
}
else {
window.location.replace("Login.aspx");
return '';
}
});
});
Answers (1)