please, check and give new source code
function getsubmit()
{
var lastname;
var Firstn=t1.value;
var cn=new ActiveXobject("ADODB.Connection");
var StrConn="provider Microsoft.Jet.OLEDB.4.0";
Data Source=d;//student_base.mdb;
var SQL="select t1 from manisha where FirstName="'"Firstn+"'");
On.open(SQL,cn);
surname.value=rs(0);
DOB.value=rs(1);
alter(rs(0));
rs.close();
cn.close();
}
</script>
</head>