On Jul 27, 7:11 pm, "Michael Geary" <[EMAIL PROTECTED]> wrote: > Sorry to be a party pooper, but what happens if you call $s from inside a > function, using replacement variables that are local to that function? How > will the "eval" see those variables?
You can, to the best of my knowledge, eval code created in your local scope, referencing vars created in your scope. For some details, see: http://blog.zimki.com/tomi/2006/08/07/javascript-eval "What the eval method does is evaluate the passed string as JavaScript in the context of the Object upon which it is called."