Re: rjs not executing?

Wybo Wiersma
Wed, 24 Jan 2007 17:18:46 -0000

> Hi,
>
> I''m trying to execute a .rjs, but instead of executing the
javascript
> code, the javascript code is shown on the html. Does any one know why?

Do you render with :layout => false ?

Like:
  render :template => ''logi/ajax_vote'',
      :layout => false

Wybo

> thanks you very much
>
> Sayoyo