I have an asp page that requests variables from a posting asp page. In the requesting page I am trying to call a function that is client side vbscript, but the asp code can't recognize it. How do I get it to see the function?
Code is something like this:
<% 'create SQL string from posting asp
asp code here
Call vbFunction(sql)
%>
<script language=vbscript>
function vbFunction(sql)
'vb code here
end function
</script>
The error I get is : Variable is undefined: 'vbFunction'
Code is something like this:
<% 'create SQL string from posting asp
asp code here
Call vbFunction(sql)
%>
<script language=vbscript>
function vbFunction(sql)
'vb code here
end function
</script>
The error I get is : Variable is undefined: 'vbFunction'