JustPaste.it

Then implement the following functions in javascript: 1) If you press the CHECK button, the age is acquired through a popup window 2) If you choose "Student" from the drop-down menu, the message "GO TO STUDY" appears under the menu. if you choose "Worker" a text box appears in which to insert the work done 3) when sending the form to the server a function performs the following checks. If the age entered via the text box and the age acquired via the button are not the same, an error message appears • If the two ages entered are the same but is less than 14 years old, an error message appears. If the previous checks have passed, a confirmation window appears with the message "Sure you have chosen the province xxx * (where Xxx is the chosen province). If you press OK, a message" Data sent correctly "appears, if you press CANCEL, it appears an error message NB: after every error the function should not continue You can insert a false return;