I am trying to get what the user inputs into the box and then take that to check their answers and make sure everything is correct before moving on. here is my code
<%@ Page Language="vb" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Page 3</title>
<script language="javascript" type="text/javascript">
function clicker(){
if (document.getElementById("582404").value=="financi al")){
window.open("page2.aspx") ;
}
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<span style="font-size: 12pt">
<b>§ 58‑2‑40. Powers and duties of Commissioner. (continued)</b>
</span>
<p class="ablock1" style="margin: 0in 0in 0pt 27pt; text-indent: -27pt">
<span style="font-size: 12pt">(3) </span>Prescribe to the companies, associations, orders, or bureaus
required by Articles 1 through 64 of this Chapter to report to the Commissioner,
the necessary forms for the statements required. The Commissioner may change those
forms from time to time when necessary to secure full information as to the standing,
condition, and such other information desired of companies, associations, orders,
or bureaus under the jurisdiction of the Department.</p>
<p class="ablock1" style="margin: 0in 0in 0pt 27pt; text-indent: -27pt">
<span style="font-size: 12pt">
</span>
</p>
<p class="ablock1" style="margin: 0in 0in 0pt 27pt; text-indent: -27pt">
<span style="font-size: 12pt">*
No Response Necessary</span></p>
<p>
</p>
<p class="ablock1" style="margin: 0in 0in 0pt 27pt; text-indent: -27pt">
<span style="font-size: 12pt">(4) Receive and thoroughly examine each financial statement required
by Articles 1 through 64 of this Chapter.</span></p>
<br />
<p class="ablock1" style="margin: 0in 0in 0pt 27pt; text-indent: -27pt">
<span style="font-size: 12pt">* The Commissioner is responsible for receiving and examining
any required <input type = "text" name="582404" id="582404" size="9" maxlength="9"/> statement.</span></p>
<p>
</p>
<p class="ablock1" style="margin: 0in 0in 0pt 27pt; text-indent: -27pt">
<span style="font-size: 12pt">(5) Report in detail to the Attorney General any violations of
the laws relative to insurance companies, associations, orders and bureaus or the
business of insurance; and the Commissioner may institute civil actions or criminal
prosecutions either by the Attorney General or another attorney whom the Attorney
General may select, for any violation of the provisions of Articles 1 through 64
of this Chapter.</span></p>
<p class="ablock1" style="margin: 0in 0in 0pt 0.75in; text-indent: -27pt">
<span style="font-size: 12pt">
</span>
</p>
<p class="ablock1" style="margin: 0in 0in 0pt 27pt; text-indent: -27pt">
<span style="font-size: 12pt">* The Commissioner must report to the _____________ ________________ any violation of insurance
laws.</span></p>
<p class="ablock1" style="margin: 0in 0in 0pt 27pt; text-indent: -27pt">
<span style="font-size: 12pt">
</span>
</p>
<p class="ablock1" style="margin: 0in 0in 0pt 27pt; text-indent: -27pt">
<span style="font-size: 12pt">
Answer: Attorney General</span></p>
<p class="ablock1" style="margin: 0in 0in 0pt 27pt;
text-indent: -27pt">
<span style="font-size: 12pt">(6) Upon a proper application by any citizen of this State, give
a statement or synopsis of the provisions of any insurance contract offered or issued
to the citizen.</span></p>
<p class="ablock1" style="margin: 0in 0in 0pt 27pt; text-indent: -27pt">
<span style="font-size: 12pt">
</span>
</p>
<p class="ablock1" style="margin: 0in 0in 0pt 27pt; text-indent: -27pt">
<span style="font-size: 12pt">*
No Response Necessary</span></p>
</div>
<button type="button" name="Next Page" id="BUTTON1" onclick="clicker()" style="width: 102px">Next Page</button>
</form>
</body>
</html>