In this program iam trying to read and store the elements in an array. But it is not storing the elements in an array.
Can anyone please help to correct the errors
<
%@LANGUAGE="VBSCRIPT" %>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<%dim n,i%>
<%dim a(10)%>
<%Response.write(date)%>
<%Response.Write("<" & "script language=VBScript>")
Response.Write("InputBox ""Enter the no of elements" & n & """<" & "/script>")%>
<%for i = 1 to n
Response.Write("<" & "script language=VBScript>")
Response.Write("InputBox ""Enter the array elements" & a(i) & """<" & "/script>")
Response.write("Array" & a(i))
Response.write(n)
next%>
<%for i = 1 to n
Response.Write("<" & "script language=VBScript>")
Response.Write("MsgBox """ & a(i) & """<" & "/script>")
next%>
</head>
<body>
<form action="array.asp" method="post" name="f">
<input type="submit" name="Display" value="Display">
</form>
</body>
</html>