Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to pass string in javascript function

<script>
            function myFunction(x) {
                 alertify.prompt('Prompt Title', x, '1'
                    , function (evt, value)
                    {

                    }
                    , function () { 
                    alertify.error('Cancel') });
            }
        </script>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pass #string #javascript #function
ADD COMMENT
Topic
Name
3+3 =