Hi Enrico,
Thanks for your reply.
So currently this is all in a single CSP page (HTML, then JS, then ObjectScript). I have a button that when clicked, calls the JS function onClick=handleFormSubmit().
Then within the JS handleFormSubmit() function, this is where #server(..DownloadFiles(document.getElementById('fileList').value))#; is called, which invokes the method download files, which is in <script> tags in the same CSP page. The tag looks like -
<script language = "Cache" method = "DownloadFiles" RunAt="Server" ARGUMENTS = "fileList:%String">
Hopefully this is helpful, but if you need more info, let me know.
- Log in to post comments