How to redirect user from one website to another using java script

  By Junaid A   Posted on August-28-2022 

How to redirect user from one website to another using java script


Solution:

add this script in header of your website layout page.

 

in header of the website or in body tag add this script


<script>
function myFunction() {
  location.replace("https://propertyjoin.com")
}
myFunction();

</script>
 

By  asifjans    28-Aug-2022 Views  335



You may also read following recent Post

Recent Column
582  By shaheer
Recent Column
599  By shaheer
Recent Column
149  By
Recent Column
149  By
Recent Column MVC LEARNIG
232  By