I've just started using RJS and I'm having a fundamental problem.   
All of my RJS statements are showing as unexecuted Javascript.

I could have something like:

<%= render :update do |page|
        page.alert "Hello"
end
%>

But, instead of an alert window I get a string in the browser:

alert("Hello");

This occurs whether I'm using Safari or Firefox or whether I put the  
code in the controller or in an .rjs file.  I'm using Rails

Can anyone help point me to a solution?

Thank you,
Jose


.......................................................
Jose Hales-Garcia
UCLA Department of Statistics
[EMAIL PROTECTED]





--~--~---------~--~----~------------~-------~--~----~
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