Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Redirecting a Page, when LOGOFF clicked

Status
Not open for further replies.

Vem786

Technical User
Dec 2, 2003
52
US
I have deisgned Login.html using HTML. Form Validation in it for Username & Password done using JS.

LOGOFF button is in ddmenu.html & is plain HTML. What I want is when I Click LOGOFF button it should redirect me to Login.html.

Any ideas how to achieve this.

Thanks!!!

 
is this something like you want?

Hope it helps

<!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;>

<html>
<head>
<title>Untitled</title>
<script language=&quot;javascript&quot;>
<!--

function redirect(url){
location.replace(url);
}
-->
</script>
</head>

<body>



<a href=&quot;#&quot; onclick=&quot;javascript:redirect(' out</a>


</body>
</html>
 
Thank You very much!!! It worked Perfectly.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top