-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglobalValiabel.js
40 lines (39 loc) · 1.01 KB
/
globalValiabel.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
let firstName = document.getElementById("firstName");
let lastName = document.getElementById("lastName");
let email = document.getElementById("email");
let submit = document.getElementById("submit");
let password = document.getElementById("password");
let confirmPassowrd = document.getElementById("confirmPassowrd");
let form = document.querySelector("form");
$(document).ready(function() {
$('select').material_select();
});
$('.datepicker').pickadate({
selectMonths: true,
selectYears: 15,
today: 'Today',
clear: 'Clear',
close: 'Ok',
closeOnSelect: false ,
container: undefined,
});
$('.timepicker').pickatime({
default: 'now',
fromnow: 0,
twelvehour: false,
donetext: 'OK',
cleartext: 'Clear',
canceltext: 'Cancel',
container: undefined,
autoclose: false,
ampmclickable: true,
aftershow: function(){}
});
let isValid = {
firstNameIsValid: false,
lastNameIsValid: false,
emailIsValid: false,
passwordIsValid: false,
confirmPassowrdIsvalid: false,
phoneIsValid:false
}