From: Shai Rosenfeld Date: 2007-10-16T20:24:10+09:00 Subject: Re: Javascript Paulo Carvalho wrote: > Hello > > I have a controller which executes a "render :partial" to actualise part > of my web page (a
object). When I do that I would like to call a > javascript function to complete my process. > How can I do that? > Anyone could help me? > Thanks > Regards post on ruby on rails forum (this is the ruby forum). http://www.ruby-forum.com/forum/3 (aside from that, maybe posting a little more informative code will help out people answering) just one fast solution i can think of (depending on u'r needs, this could be useless) is to call the javascript function in the partial at the end render :partial -> 'some' and then in _some.rhtml do ========== *rhtml code* *rhtml code* *rhtml code* . . .