As subject.

DS

Re: How can I call a client-side function in server-side script? by Han

Han
Wed Dec 03 00:14:30 CST 2003

No way except calling whole page. In another words, one function per one
page will do.

--
Pohwan Han, Microsoft MVP, ASP/ASP.Net, Korea
Have a nice day.

"DS" <anonymous@discussions.microsoft.com> wrote in message
news:084501c3b958$a3230df0$a101280a@phx.gbl...
> As subject.
>
> DS



Re: How can I call a client-side function in server-side script? by Bob

Bob
Wed Dec 03 05:30:03 CST 2003

DS wrote:
> As subject.
>
> DS

You can cause a client-side function to execute during the server-side
execution, but you cannot do anything with the value returned by the
function in the server-side code, so this is kind of useless. Just call the
function in the window_onload event.

<%
...
x=request.querystring("val")
if x = 3 then
%>
<script language=vbscript>
<!--
msgbox "the value is 3"
-->
</script>
<%
else
%>
<script language=vbscript>
<!--
msgbox "the value is not 3"
-->
</script>
<%
end if
...
%>

Bob Barrows

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"