ASP Uploader Class Reference |
|
Uploader.ButtonOnClickScript Property
JavaScript code that be executed when the browse button be clicked.
Example Code
- <% @ Language="VBScript" %>
-
- <html>
- <body>
- <form id="form1" method="POST">
- <%
- Dim uploader
- Set uploader=new AspUploader
- uploader.Name="myuploader"
- uploader.ButtonOnClickScript="myalert()"
- uploader.Render()
- ?>
- <script>
- function myalert()
- {
- alert("Hello World");
- }
- </script>
- </form>
- </body>
- </html>