Hi Michael
I wasn't able to find the exec() function in JavaScript. Did you mean eval() function that allows to execute JavaScript code from the string variable? It works fine for me.
Thanx.