Hello, I need your help please.
Do you know if there is any way to make a JavaScript function from a String.
For Example:
Here, there is a code of a function in the sString variable.
var sString = "function(){ alert('test'); }";
The Problem is here.
Is there any way to run the function in the sString variable
sString();
Thanks A Lot
Do you know if there is any way to make a JavaScript function from a String.
For Example:
Here, there is a code of a function in the sString variable.
var sString = "function(){ alert('test'); }";
The Problem is here.
Is there any way to run the function in the sString variable
sString();
Thanks A Lot