On Nov 15, 10:26 pm, Namotco <[EMAIL PROTECTED]> wrote: > I was trying to demonstrate my problem, it's not what's actually in my > code. It's seems that $('test') inside my eval is not the same as the > $('test') outside of it. When I try to run that code I'd expect $ > ('test')'s HTML to change, but it doesn't. Why not and how can I make > it do that?
Does something like this work? eval('(function(el){ if (el = $("test")) { el.innerHTML = "test" } }) ();'); -- kangax --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---