I am using ColdFusion 7 and prototype.js version 1.6 and am returning a variable from the server that has a <script> tag embeded into it. For some reason everything inside of to include the <script> tag is stripped out of the return. Is there a way to return the <script> to wrap it in something similar to CDATA etc? Thanks, Joel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
> I am using ColdFusion 7 and prototype.js version 1.6 and am returning > a variable from the server that has a <script> tag embeded into it. > For some reason everything inside of to include the <script> tag is > stripped out of the return. Is there a way to return the <script> to > wrap it in something similar to CDATA etc?It sounds like you are failing to set evalScripts. By default it is set to false and the behavior you describe is what you get. So if you set it to true the script will be executed as expected. -- Edward Grant themasternone-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org RPGA #342155 CAMARILLA #US2002022579 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---