Hi to all
this code work well but i want that password appear in asterisk..
<SCRIPT language="JavaScript"><!--
function check() {
// Prompt user for the password ...
pwd = prompt('Enter password before continuing','');
// ... then set the browser location. (change the line below this one!)
if(pwd=="sidra")
{
location.href = 'showfile.php';}
}
// -->
</SCRIPT>
<HTML>
<HEAD>
<img src="idtech_logo.jpg" alt="logo" width="1500" height="80" />
//<TITLE>Site Entrance</TITLE>
</HEAD>
<CENTER><h1>User Requests</br></br></h1>
</CENTER>
<BODY bgcolor="#1E90FF">
<DIV align="center">You must have a password to view the user requests!<P>
<FORM>
<INPUT type="Button" onClick="check()" value="Enter Password">
</FORM>
</DIV>
</BODY>
</HTML>
please help me