-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBOM.html
More file actions
56 lines (39 loc) · 1.35 KB
/
Copy pathBOM.html
File metadata and controls
56 lines (39 loc) · 1.35 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<html>
<head>
<title>
BOM
</title>
</head>
<body>
<script>
function justASecond() { // Set TimeOut
alert('Please Come Here')
}
var second = setInterval(inteval, 1000);
function inteval() { // digital clock
var currentDate = new Date();
document.getElementById('fff').innerHTML = currentDate;
}
function deleteRecord(fullName) {
window.setTimeout(20000)
window.prompt('enter Yur name : ', fullName)
window.alert('Your record is Deleted')
if (confirm('are you sure ?') == true) {
location.replace('https://mail.google.com/mail/u/1/#inbox/FMfcgxwHMsVFrxHwcBFztLDhrnXmWpsw')
} else {
open('https://www.google.com')
close('https://www.google.com')
// location.replace('http://localhost:5500/Browser%20Object%20Model.html')
// in java Script REdirect to One page to Other page By Using the LOCATION.REPLACE and WINDOW.OPEN
}
}
</script>
<p id="p"></p>
<input type="button" onclick="deleteRecord('darshan')" value="DeleteRecord" />
</form>
<br><br><br>
<button onclick="setTimeout(justASecond,5000)">wait</button>
<br><br><br>
<p id="fff"></p>
</body>
</html>