Folks ... how can I make a system where input text
gets a name of function
.. then it searches its name internally with the name that is in string
.
kind ...
In Html I do the following:
<input type="text" id="seuInput" onkeyup="keyupFunction()">
No javascript:
function keyupFunction() {
// codigo para achar o nome em certa função
var valor_do_campo_aqui = document.getElementById("seuinput").value;
}
For example:
I have function carro() { ... }
This "car" is the name of a certain function. You need to open it to get certain data in it.
The question refers to something almost, I repeat almost like this - Checking if value exists in an array via search field
For example, I expect to receive only a% w / o of% - whether it exists or not .
How can I use a search to find this and other functions you can create later !?