-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththird sem.html
73 lines (67 loc) · 1.33 KB
/
third sem.html
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<html>
<head>
<title>Third sem result</title>
<center>
<h1>Third Semester Result</h1>
</head>
<script type="text/javascript">
function valid()
{
if(document.sign.Name.value=="")
{
alert("enter the name");
document.sign.Name.focus();
return false;
}
if(document.sign.Usn.value=="")
{
alert("enter the usn");
document.sign.Usn.focus();
return false;
};
/*if(document.sign.branch.value=="-----------select-----------")
{
alert("select the branch");
document.sign.branch.focus();
return false;
}
if(document.sign.sub.value=="")
{
alert("enter the subject code");
document.sign.sub.focus();
return false;
}*/
return true;
}
</script>
</head>
<body bgcolor="silver">
<center>
<h2>Enter the details</h2>
</center>
<form action="result3.php" method="post" name="sign" onsubmit="return(valid());">
<font size="5">
<table>
<tr>
<td>
Name:
</td>
<td>
<input type="text" name="Name" placeholder="Enter The Name">
</td>
</tr>
<tr>
<td>
Usn:
</td>
<td>
<input type="text" name="Usn" placeholder="Enter USN"><br>
</td>
</tr>
</table>
</font>
<input type="submit" value="submit">
<input type="reset" value="clear">
</form>
</body>
</html>