Skip to Content
avatar image
Former Member

How to call javascript function?

Hi,

How to call javascript function for SAP button

control onclick event?

Thanks in advance.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 25, 2006 at 06:55 AM

    Hi Sundar,

    u can call java script in design mode.

    Add this code in ur design part inside body and call the function as

    <sap:button id="a" onSelect="javascript:go();"

    Add inside body:

    <script language="javascript>

    function go(){

    alert("hai");

    }

    </script>

    Regards,

    Vinoth.M

    Add comment
    10|10000 characters needed characters exceeded