asterix

This is a discussion on "asterix" within the JavaScript Forum section. This forum, and the thread "asterix are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old Mar 1st, 2004, 16:27
benbacardi's Avatar
Highly Reputable Member
Join Date: Feb 2004
Location: United Kingdom
Age: 20
Posts: 611
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to benbacardi Send a message via Skype™ to benbacardi
asterix

Is there anyway to make anything typed into a prompt box appear as asterix's instead of normal text?

  #2 (permalink)  
Old Mar 1st, 2004, 16:32
Rob's Avatar
Rob Rob is offline
Head Admin & CEO

SuperMember
Join Date: Jul 2003
Location: at my desk
Age: 34
Posts: 2,952
Blog Entries: 7
Thanks: 7
Thanked 4 Times in 4 Posts
Send a message via MSN to Rob Send a message via Skype™ to Rob
yes....

use this:-
Code: Select all
<input type="password" name="whatever" />
Hope this helps.
__________________
Rob - SEO Specialist
Owner & Founder of Webforumz.com

I am currently unavailable for private work
  #3 (permalink)  
Old Mar 1st, 2004, 16:40
benbacardi's Avatar
Highly Reputable Member
Join Date: Feb 2004
Location: United Kingdom
Age: 20
Posts: 611
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to benbacardi Send a message via Skype™ to benbacardi
yea thanks but i mean the prompt as in:

Code: Select all
var url = prompt("Enter security code","");
any ideas?
  #4 (permalink)  
Old Mar 1st, 2004, 20:44
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
There isn't a way to do that with prompt. Instead you might try using showModalDialog to open a page in a small modal window with a password input field like Rob showed. The page can then pass the value back to your main page using the returnvalue.

http://msdn.microsoft.com/library/de...ence_entry.asp

and

http://msdn.microsoft.com/workshop/a...urnvalue_0.asp

I don't know what the cross-brower support for showModalDialog is though.
Closed Thread

Tags
asterix

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 19:14.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43