title: Convert String to Function in Javascript
body: <p>I have a little problem with creating a new function from a string.
  The example: I have a div, and some buttons. One of the buttons just make my div animating, nothing else. But the other button make the div animating and after the animation is complete, call a new function.</p>
  
  <p>I have to handle the new, following function as a variable, because there will be a lot of function I have to call after the div animated.</p>
  
  <p>Here is an example I made: <a href="http://jsfiddle.net/AmVSq/3/" rel="nofollow">http://jsfiddle.net/AmVSq/3/</a>. I hope you can understand my problem.</p>
  
  <p>I found the <code>new Function();</code> in JavaScript but it just left me in doubt and the JS console did not log anything.</p>
  
  <p>Can somebody tell me what am I doing wrong?
  Thank you so much..</p>