Chinna Netha

Chinna Netha

  • NA
  • 282
  • 136.7k

reloading page in asp.net

Jul 20 2015 1:26 PM
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)