Some times we
require that when some one visit www.abc.com then he should be redirected
to another site like
www.xyz.com. So for that we need to add piece of javascript code in the head tag
of the default page of the website and it will automatically
redirect the www.abc.com
visitor to www.xyz.com site.
Lets create an web application to redirect visitor from one website to another website using JavaScript
Lets create an web application to redirect visitor from one website to another website using JavaScript
- In the <HEAD> tag
create a JavaScript function as:
0 comments:
Post a Comment