If your browser clients are running Windows with ActiveState Perl installed then you can run PerlScript.
Perl script is a client-side scripting language similar to Javascript and VBScript. You then:
- write a function in Perl;
- surround the Perl function with <script> tags;
- include the script in the HTML that the browser downloads; and
- create an HTML button and attach the Perl function to the button's onClick event handler.
Here is a link to
ActiveState's PerlScript page.