.
The following script verifies that no more than 10 characters have been entered in the field using an if else statement.
The following script uses a do while statement to count clicks and display an alert.
Click Here!