In fact what I am trying do do is automating a FORM POST
if Session("Table") = "basket" then
Session("Table") = "product"
window.onLoad = document.frmPickProd.submit()
end if
this gives the error 'Expected end of statement
if I put
<% Language=JScript %>
<%
window.onLoad = document.frmPickProd.submit()
%>
the error is ' Expected statement
I tried every form of <% <%@ etc.
thank's
serge
"Aaron [SQL Server MVP]" wrote:
what do I
have to write to embed some JScript in that page?
Client-side JScript, or server-side JScript?
--
http://www.aspfaq.com/
(Reverse address to reply.)