
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Turn a String into a JavaScript Function Call
To turn a string into a JavaScript function call, try to run the following code
Example
<html> <body> <script> function myFunction(argument) { alert('My function ' + argument); } functionName = 'myFunction'; window[functionName]('is working.'); </script> </body> </html>
Advertisements