I have this function below as a string. How would I convert it back into a function? I am pulling event handlers from JQuery events and I want to store them as string then convert them back because they will be saved in mySQL
function () {
if (!GActiveClick) {
return;
}
SaveProduct();
}