SmileyFace
Programmer
Someone please help! This is very frustrating. I am trying to call a vbscript function using a link on my page. This function basically posts a form action. But for some reason it won't execute. Please tell me what I am doing wrong.
This is the link:
<A class=mainmenu href="vbscript:fignore()" >Exit</A>
This is the function:
function fignore
msg = msgbox ("Save changes?", 4, "Title"
if msg = "6" then
window.custisrnotes.action = "cust-isrnotes.asp? Action=S&shpno=<%=shpno%>"
end if
end function
If I click on the link, it brings up a msgbox asking if I want to save changes. If yes, it is supposed to call the cust-isrnotes.asp page but it doesn't do anything. PLEASE HELP!
Thanks!
This is the link:
<A class=mainmenu href="vbscript:fignore()" >Exit</A>
This is the function:
function fignore
msg = msgbox ("Save changes?", 4, "Title"
if msg = "6" then
window.custisrnotes.action = "cust-isrnotes.asp? Action=S&shpno=<%=shpno%>"
end if
end function
If I click on the link, it brings up a msgbox asking if I want to save changes. If yes, it is supposed to call the cust-isrnotes.asp page but it doesn't do anything. PLEASE HELP!
Thanks!