JavaScript code that be executed when the browse button be clicked.
Example Code- <?php require_once "phpuploader/include_phpuploader.php" ?>
- <html>
- <body>
- <form id="form1" method="POST">
- <?php
- $uploader=new PhpUploader();
- $uploader->Name="myuploader";
- $uploader->ButtonOnClickScript="myalert()";
- $uploader->Render();
- ?>
- <script>
- function myalert()
- {
- alert("Hello World");
- }
- </script>
- </form>
- </body>
- </html>