Forums
This topic is locked
function question
Posted 06 Mar 2003 16:45:55
1
has voted
06 Mar 2003 16:45:55 Scott Burtscher posted:
I have an ASP function located in the head of my document that runs everytime on page load. Does anyone have an idea why this may be happening? I want to call the function on submission of a form. Replies
Replied 06 Mar 2003 19:02:14
06 Mar 2003 19:02:14 Patrick Woldberg replied:
Try something like this:
If (CStr(Request.Form("Submit") <> "" Then
your_function()
End If
--------------------------------------------------
Patrick Woldberg
Web Developer at Dynamic Zones
Manager at DMXzone.com
--------------------------------------------------
If (CStr(Request.Form("Submit") <> "" Then
your_function()
End If
--------------------------------------------------
Patrick Woldberg
Web Developer at Dynamic Zones
Manager at DMXzone.com
--------------------------------------------------