calling vbScript function from button input type
问题 I have the following function declared in the tag of a classic asp page that i did not write but need to edit; <SCRIPT language="VBScript"> sub confirmuser(sSubtype, sAction) ' this prompts user to confirm their action and sets hidden form fields. ' current subtypes are 1) Free Trial 2) Equity 3) Mutual Funds. ' current actions are 1) subscribe 2) unsubscribe sConfirmMessage = "Clicking on the OK button below will " & sAction & " login <%=rtrim(session("WebID"))%> " & _ "to the " & sSubtype