The text to display in the dialog box.
OptionaluserName: stringThe default text to display in the user name input box. Optional.
Optionalpassword: stringThe default text to display in the password input box. Optional.
The login() method displays a login dialog box that prompts the visitor for user name and password.
The options for the dialog box.
The login() method displays a login dialog box that prompts the visitor for user name and password.