i wonder if calling asp classic function from a javascript function is allowed.
like this one.
function asp(asp)
....do task
end function
Then ......
function javascript(java)
{
bConsultant = alert('<%=asp("'+ java +'")%>');
}
i wonder if calling asp classic function from a javascript function is allowed.
like this one.
function asp(asp)
....do task
end function
Then ......
function javascript(java)
{
bConsultant = alert('<%=asp("'+ java +'")%>');
}
You cannot call a classic-asp function from javascript. classic-asp is a server side scripting language and javascript is a client side one. So simply it is defined where to run which codes or functions.
You can do it by ajax but it is not actually calling a function. Its just calling the whole page in classic asp which has already been run in the server