Hi,
I have the following vbscript in the <head> of asp page.
<SCRIPT LANGUAGE="VBScript">
sub btn_LogOut_OnClick()
dim asnwer
answer=msgbox("Are you sure you want to exit?. If your session is not
locked but sure to save your changes first before exiting.",vbYesNo,"Notice")
if answer=vbyes then
Document.Report.Submit
end if
end sub
</SCRIPT>
I am calling this method from a button click of the same page and the code
for that is:
<input type="button" value="Log Out (Will not Save)" name="btn_LogOut" >
I have no idea why I am gettin the above error. Any help is appreciated.
Thanks.