Hi,
Is it possible to change the input on prompt to be a password character like * instead of original characters
e.g. When the scipt below will execute it will prompt you to type something, can the input words be masked as **** instead of orginal characters.
<Code>
<SCRIPT language="JavaScript">
<!--hide
var yourname= prompt('Please enter your password', ' ');
if ( yourname=="abc") )
{
// Let it go
}
//-->
</SCRIPT>
</code>
Is it possible to change the input on prompt to be a password character like * instead of original characters
e.g. When the scipt below will execute it will prompt you to type something, can the input words be masked as **** instead of orginal characters.
<Code>
<SCRIPT language="JavaScript">
<!--hide
var yourname= prompt('Please enter your password', ' ');
if ( yourname=="abc") )
{
// Let it go
}
//-->
</SCRIPT>
</code>