answersLogoWhite

0

Just use the <input type="text"> and <input type="password">. You can also use the prompt() function, but... I'd recommend against it, since it doesn't get censored and is also just plain annoying.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

How Write javascript program to display multiplication table of 2 without accepting input from user?

Use a counted for loop. On each iteration, multiply the control variable by 2 and print the result.


What is the input door password for stick strike?

the input password is :password


How do you write BASIC program to accept variables?

dim a input a


How do you use Javascript confirm password?

function validate(form) { var e = form.elements; /* Your validation code. */ if(e['password'].value != e['confirm-password'].value) { alert('Your passwords do not match. Please type more carefully.'); return false; } return true; } with a form along the lines of &lt;form action="..." method="post" onsubmit="return validate(this);"&gt; &lt;label&gt;Password: &lt;input type="password" name="password" value=""&gt; &lt;/label&gt; &lt;label&gt;Confirm password: &lt;input type="password" name="confirm-password" value=""&gt; &lt;/label&gt; &lt;/form&gt;


Write a C program that takes a binary file as input and finds error check using different mechanisms?

write a c program that takes a binary file as input and finds error check using different mechanisms.


Can Javascript create 3D?

Javascript is a browser-run script, so I highly doubt that Javascript possesses the capabilities to create 3-D images, but it can input them into the webpage.


Java script program to Print the Fibonacci series using array?

&lt;script type = "text/javascript"&gt; var input; var rev = 0; input=window.prompt ("Please enter a 5-digit number to be reversed."); input = input * 1; while (input &gt; 0) { rev *= 10; rev += input % 10; input /= 10; } document.write ("Reversed number: " + rev); &lt;/script&gt;


How will you create username and password HTML tags?

&lt;input type="text" /&gt; That could be used for a username &lt;input type="password" /&gt; That could be used as a password.


How do you Write A program in c language for checking a diagonal matrix?

Write a program in c++ that take input in a integer matrix of size 4*4 and find out if the entered matrix is diagonal or not.


Write a program that input a positive integer and prints a triangle using for loop?

write a program that reads in the size of the side of square and then pints a hollow square of that size out of asterisks and blanks?


How do you disabe radio buttons on clicking a button using javascript and HTML?

radioButton.disabled=true; to disable with javascript &lt;input type="radio" disabled&gt; to disable it with html radioButton.disabled=false; to enable with javascript


Write a program in 'C' language to accept 6 strings as input and print them in lexicographic?

(ab)*b