How do I invoke a javascript via the function name and its parameter i.e. FullName("Maurice Gauldin")?

Topics: Developer Forum, Project Management Forum, User Forum
Feb 27 at 5:01 PM
<!DOCTYPE>
    <html>
        <title>Alert</title>
        <body>
                <script TYPE="TEXT/JAVASCRIPT">
                    FullName("Maurice Gauldin");
                    FUNCTION FullName(lcName)
                    {
                     alert(lcName+" is my full name.");
                    }
                </script>
        </body>
    </html>
Mar 31 at 10:37 PM
JavaScript is case sensitive, you have to type function not FUNCTION. You should defined the function first, then call it after.