Render js

frazer horn frazer.list at gmail.com
Sat Nov 3 16:11:13 EDT 2007


Hi all

Not sure if I'm missing something, render :js => "alert('hello');" does
return the alert but also displays alert('hello') in the template as text.
This is evident for all javascript returned via render js (inline or in
.js.erb).

Any help appreciated

Thanks

Frazer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/merb-devel/attachments/20071103/8f5bbc0a/attachment.html 


More information about the Merb-devel mailing list