hi one simple solution is the following one <html> <head> <script> function aClick() { alert("A Clicked"); } function bClick() { aClick(); } </script> </head> <body> <form name="aform" method="post"> <input type="button" name="abutton" onclick="aClick()" value="Abutton"> <br> <input type="button" name="bbutton" onclick="bClick()" value="Bbutton"> </form> </body> </html> HTH Mohan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.evolt.org/pipermail/javascript/attachments/20020913/2699574a/attachment.htm>