Link to home
Create AccountLog in
Avatar of milani_lucie
milani_lucieFlag for United States of America

asked on

VBA-Style Binding Method & Script Tag Binding Method - JavaScript

Hi,

Can you please fix the below program and make it working ?

<html>

      <head>

            <title>
                  Example
            </title>

      </head>

      <body>

                                <input type="button" name="cmdVBA" value="VBA">

            <script language="javascript">

            function cmdVBA_OnClick()
            {

                  alert("VBA-Style Binding Method.");

            }

            </script>

                                <input type="button" name="cmdScriptTag" value="Script Tag">

            <script language="javascript" For="cmdScriptTag" Event="OnClick">

                    alert("Script Tag Binding Method.");

            </script>

      </body>

</html>
ASKER CERTIFIED SOLUTION
Avatar of Gary
Gary
Flag of Ireland image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account