Regular expressions are a right way to validate text fields such as email addresses, phone numbers, names, age, date and other input information.
Regular expressions are a right way to validate text fields such as phone numbers, names, addresses, age, date and other input information. You can use them to constrain input, apply formatting rules, and check lengths.
A dense array is an array that has been created with each of its elements being assigned a specific value.
Dense arrays are used exactly in the same manner as other arrays. They are declared and initialized at the same time.
In prompt dialog box if user click on ‘Ok’ button then text types inside the textbox will be pass to the program environment otherwise if user click on ‘Cancel‘ button then it return null to the environment.
Prompt() method requires two blocks of information:
A message to be displayed as a prompt to the user
Any message to be displayed in the textbox, this is optional.
Dialog box in java script appears as separate window and their content depends on the information provided by user. Java script provide the Alert dialog box that can be used to display the string message or display some information.
You can use this trick on any web page which contains password hidden behind Asterisk.
To view saved passwords behind asterisk, Continue reading “See Passwords Behind Asterisks”
operand1 === operand2
operand1 !== operand2