from a database table in an ASP webpage using both vbscript and javascript and no backend vb6 components?
so far this is my code:
<%@ Language="VBScript"%>
<%
Dim adoCn
Dim adoRcd
Set adoCn = Server.CreateObject("ADODB.Connection"
Set adoRcd = Server.CreateObject("ADODB.Recordset"
adoCn.Provider = "Microsoft.Jet.OLEDB.4.0"
adoCn.ConnectionString = Server.mappath("backend.mdb"
adoCn.Open
adoRcd.Open "SELECT Tech_Definitions.word_id, Tech_Definitions.word, Tech_Definitions.Definition FROM Tech_Definitions" , adoCn
%>
and it is displayed here:
<table border="2" width="100%">
<tr>
<td width="20%" valign="bottom" align="center"><font face="Arial" size="-1" color="#000000"><b><%=adoRcd("Word"%></b></td>
</tr>
<tr>
<td align="center"><font face="Arial" size="-2" color="#000000"><b>
<%=adoRcd("Definition"%></font>
</td>
</tr>
</table>
I would like to create an onmousemove (not a must) function that will change the words and definitions in the same table space.
Can this be done?
Thanks for your help
kaeb
so far this is my code:
<%@ Language="VBScript"%>
<%
Dim adoCn
Dim adoRcd
Set adoCn = Server.CreateObject("ADODB.Connection"
Set adoRcd = Server.CreateObject("ADODB.Recordset"
adoCn.Provider = "Microsoft.Jet.OLEDB.4.0"
adoCn.ConnectionString = Server.mappath("backend.mdb"
adoCn.Open
adoRcd.Open "SELECT Tech_Definitions.word_id, Tech_Definitions.word, Tech_Definitions.Definition FROM Tech_Definitions" , adoCn
%>
and it is displayed here:
<table border="2" width="100%">
<tr>
<td width="20%" valign="bottom" align="center"><font face="Arial" size="-1" color="#000000"><b><%=adoRcd("Word"%></b></td>
</tr>
<tr>
<td align="center"><font face="Arial" size="-2" color="#000000"><b>
<%=adoRcd("Definition"%></font>
</td>
</tr>
</table>
I would like to create an onmousemove (not a must) function that will change the words and definitions in the same table space.
Can this be done?
Thanks for your help
kaeb