J
JT
im trying to use the MsgBox function in the following to display an ASP
MsgBox containing text retrieved from the db into a recordset
<%
set rsMessages= myRecordset
msg_text = rsMessages.Fields("msg_text")
msgbox(msg_text)
%>
this generates a permission denied error b/c msgbox needs to run client side
so i tried the same code but used
<SCRIPT LANGUAGE="VBSCRIPT">
</SCRIPT>
in place of the <% %> tags
but now i just get an empty message box
i must be misunderstanding something with the way the msgbox function works
in terms of client side vs server side.
any help would be much appreciated
jt
MsgBox containing text retrieved from the db into a recordset
<%
set rsMessages= myRecordset
msg_text = rsMessages.Fields("msg_text")
msgbox(msg_text)
%>
this generates a permission denied error b/c msgbox needs to run client side
so i tried the same code but used
<SCRIPT LANGUAGE="VBSCRIPT">
</SCRIPT>
in place of the <% %> tags
but now i just get an empty message box
i must be misunderstanding something with the way the msgbox function works
in terms of client side vs server side.
any help would be much appreciated
jt