Ajax and the partials

I have tried some ajax scripts, but I noticed they don’t work on
partials (_form and list in views)
I needed to integrate some ajax functions from rails to my applications,
am I doing something wrong ?
It works when I try doing it on a new application with it own name (i.e
search.rhtml)
Thanks in advance

I’m guessing that you aren’t including the required javascript files
(javascript_include_tag :defaults) either in the parent layout, parent
template or partial file. Just guessing though.

Raul

----- Original Message -----
From: “Adriano L.” [email protected]
To: [email protected]
Sent: Thursday, March 27, 2008 4:55 AM
Subject: [Rails-deploy] Ajax and the partials

Raul wrote:

I’m guessing that you aren’t including the required javascript files
(javascript_include_tag :defaults) either in the parent layout, parent
template or partial file. Just guessing though.

Raul

----- Original Message -----
From: “Adriano L.” [email protected]
To: [email protected]
Sent: Thursday, March 27, 2008 4:55 AM
Subject: [Rails-deploy] Ajax and the partials

just my noobness i was declaring default and not dafaults

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs