Calling a function in VbScript

Results 1 to 2 of 2

Thread: Calling a function in VbScript

  1. #1
    Tony Guest

    Default Calling a function in VbScript

    Please don&#039t blast me over this simple question, but how do I call a function in VBScript by clicking on an image?<BR><BR>&#060;%<BR>Function CreateCSVFile()<BR> &#039Code here <BR>End Function <BR>%&#062;<BR><BR>I&#039ve been trying variations of this but I can&#039t seem to work it out:<BR>&#060;img src="image.gif" OnClick="CreateCSVFile()"&#062;<BR><BR>Thanks.<BR> <BR>

  2. #2
    Join Date
    Dec 1969
    Los Angeles, CA

    Default RE: Calling a function in VbScript

    The function HAS to be inclient side script to call it in the clock event of anything.<BR><BR>If you need to do something ONLY in serverside script then SUBMIT the form and then do what ever you wnat

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts