Just to conclude for anyone watching this thread. The following code format
works fine for Evalscripts in FF and IE.

<script type="text/javascript">complete();</script>

There was a very subtle bug in my code preventing it from running in IE, but
there is nothing wrong with the return format or the framework.

Daniel Elmore


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gregory
Hill
Sent: Monday, April 17, 2006 10:26 AM
To: rails-spinoffs@lists.rubyonrails.org
Subject: RE: [Rails-spinoffs] evalScripts in IE

> What's the problem with the code? How should I write it?

I was referring to Todd's example.  He purposely added an extraneous
comma at the end of his list that is invalid syntax in IE.  I was just
explaining what Martin had meant, not about the original issue about
evalScripts.  I haven't really ever used evalScripts, so I'm not sure of
the proper way to use it.  I'm one of those weirdos that returns pure
XML and parses it.  Or, in some cases, I return pure javascript and just
eval the whole thing.  I don't mix javascript and html in the return.

I'm sure someone has done it, though, so hopefully they'll speak up
soon.

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

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

Reply via email to