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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JAVASCRIPT ANYONE?

Status
Not open for further replies.

rry2k

Programmer
Jun 28, 2001
678
US
I don't think we have a forum for Javascript so I'm trying here. I'm writing a password screen which uses the following code:
var username = prompt("username required:", "");

This works o.k. but the prompt box is at the top of the screen. Is there a way to lower it. I tried various tags but nothing seems to work.

Also does someone know how to display * instead of the char entered.

Thanks..Russ
 
well there is no way to center that promt.
what you can do is to create a new window and put the password box in it and centre that window.

Oh yes by the way there is a forum for javascript.


;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top