The question is two fold:
1. is it possible to hide (******) passwords when typing in the promp box.
2. is it possible to combine the two fields into one alert box, rather like what you see in a NT Domain log-on.
This is the code I'm using at the moment for the promts:
var namePrompt = prompt("Please enter your username:","");
var PassPrompt = prompt("Now, please enter your password:","");
Any sugestions on suitable code?