On 4/16/06, Martin Bialasinski <[EMAIL PROTECTED]> wrote:
> BUT: This is how it works on any browser. If the eval works in one, it
> works in any. Therefore I do not think this is the problem, as he just
> calls a global function. Probably, the function just fails, so he
> should check with the javascript console and use alerts liberally for
> debugging.

Eeek.  eval() can behave differently in different browsers based on
the input given.  Take the following example, which doesn't work under
IE but works fine under Firefox:

var myVar = [
    value1,
    value2,
    value3, // IE doesn't like the last ,
];

Or, maybe I misinterpreted what you meant.

Todd
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to