JavaScript: What is the equivalent of PHP's "$this->$somefunc()"? -


Is it possible to store the name of the function as a string in JS, and open it from the object, much like PHP Is the code down?

  $ this-> $ SomeFunc ();  

  this [someFunc] ();  

Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -