I'm calling an html page through an ajax call. I'm aware that in order
to execute scripts in prototype you have to enable that feature, and
you have to reformulate functions in order for them to work (Not good:
function check(){; Good var good = function() ).
However, if the script contains window.addEvent, it doesnt get
executed.
window.addEvent('domready', function() { bla bla...

Is there a way to do this, or do i just avoid ajax calls for pages
with scripts. The reason i use them in the first place is since i can
avoid using iframes or separate page visits, and just place the
content via an ajax call in a container.


--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to