Say I\'ve got a Javascript string like the following
var fnStr = \"function(){blah1;blah2;blah3; }\" ;
(This may be from an expression the
You can call Parse your string as javascript fuction
function getDate(){alert('done')}
// suppose this is your defined functionto call above function getDate() is this in string format like 'getDate()'
var callFunc=new Function('getDate()')
//Parse and register your function
callFunc()
// Call the function