So, I have been learning some Javascript, and I came across the:
window.location = "website goes here..";
Now I have now learned that this could be used to redirect the user, I remember long ago i wanted so much to know how I can redirect users, without anchor tags and header(location:) since i couldn't use header after headers been sent.
SO I ask you guys, what are the disadvantages of using this Javascript to deal with redirecting my users after a if statement for example, or are there simply none.
Thanks