kokixcis Posted February 26, 2006 Share Posted February 26, 2006 Here is an example about prompt box of w3schoolshttp://www.w3schools.com/js/tryit.asp?filename=tryjs_promptis it possible if a alter the content of the prompt box similar to input ype password?it means everytime i type a letter to the prompt box it automatically convert it to an * let say??? please help thanks.example:instead of typing "name", it will appear as "****" Link to comment Share on other sites More sharing options...
Chocolate570 Posted February 26, 2006 Share Posted February 26, 2006 No, sorry, this is not possible. But there are alternatives, such as not using a prompt box. Link to comment Share on other sites More sharing options...
kokixcis Posted March 8, 2006 Author Share Posted March 8, 2006 No, sorry, this is not possible. But there are alternatives, such as not using a prompt box.<{POST_SNAPBACK}> Really?, i guess i just have to use the input type password... is that the alternative? Link to comment Share on other sites More sharing options...
Verminox Posted March 10, 2006 Share Posted March 10, 2006 Yes that would be the alternative, since you cannot set a type to the prompt box.But if you want, you can popup a window with an input with type='password'.It won't give the same effect but at least its a popup password field Link to comment Share on other sites More sharing options...
kokixcis Posted April 4, 2006 Author Share Posted April 4, 2006 Yes that would be the alternative, since you cannot set a type to the prompt box.But if you want, you can popup a window with an input with type='password'.It won't give the same effect but at least its a popup password field <{POST_SNAPBACK}> Thanks,How about in Cascading stylesheet? is there a way where i can use the cascading stylesheet to modify the password input? What you think??? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now