Home >
front end > Why the reset button is invalid, and a great god answers.
Why the reset button is invalid, and a great god answers.
<meta charset="utf-8" & gt;
<meta name="viewport" content="width=device - width, initial - scale=1.0" & gt;
Document <style type="text/CSS" & gt;
H1 {
text-align: center;
}
Table {
Outline: chartreuse 5 px;
Background: lightblue;
Margin: auto;
Width: 400 px;
/* border - the collapse: the collapse; Merge border */
}
Table, tr, td {
Border: RGB (0, 0, 0, 0.5) 1 px solid;
padding:1px;
}
</style>
<script>
The function (aa)
{
Var s;
S=reg. User. The value;
Alert (" the user name is "+ s);
}
The function aa2 (t)
{
Var (p1, p2,
Alert (t);
P1=reg. Pass1. Value;
The p2=reg. Pass2. Value;
If (p1!=p2)
Alert (" two passwords don't match ")
}
</script>
<body>
Registration & lt;/strong>