¡@

Home 

javascript Programming Glossary: t.parentnode.id

How to turn a String into a javascript function call?

http://stackoverflow.com/questions/912596/how-to-turn-a-string-into-a-javascript-function-call

call I got a string like settings.functionName ' ' t.parentNode.id ' ' that I want to translate into a function call like so clickedOnItem.. When I do an alert on settings.functionName ' ' t.parentNode.id ' ' it seems to get everything correct. I just need to call.. translate into. Legend settings.functionName clickedOnItem t.parentNode.id IdofParent javascript function share improve this question..