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>

codeof html with java script

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.