"Jay - Z" wrote
> I am stuck with the onMouseOver method.
>
> Dim desc
> desc = rs.Fields.Item("PDescription")
> Response.Write("<td align='center' cellpadding=5><a
> href='taketraining.asp pid=" & rs.Fields.Item("PID") & "'
> onMouseOver=activateE1(desc)>" & rs.Fields.Item("PName") & "</td>")
>
> (rs - RecordSet)
>
> Your help is appreciated...
This is not javascript. It looks however like you are writing the string
"desc" instead of the value of the value of the variable desc. Try
.... & " onmouseover='activateE1( \' " & desc & " \' )'>" & ...
Note the double, single and escaped single quotes.
--
Ivo
|