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  261



Comments


CommentsPost

shoaib

To much interested post

Your Comments

You may also read following recent articles