title: Convert string (was a function) back to function in Javascript
body: <p>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    </p>
  
  <pre><code>function () {
  
      if (!GActiveClick) {
          return;
      }
      SaveProduct();
  }
  </code></pre>