Page div with partial html page problem

Hi,

How can i replace div with partial file with the help of controller
and i dont want to use individual file like .js.erb to repalce

thanks,
-pab

On 19 September 2011 11:21, Pab [email protected] wrote:

Hi,

How can i replace div with partial file with the help of controller
and i dont want to use individual file like .js.erb to repalce

Find some tutorials on how to use AJAX to replace the contents of a
div. Google is your friend.

Colin


gplus.to/clanlaw

Hi,

Colin i can replace with help of ajax but in case of jquery
page.replace_html is not working, so i going for seperate .js.erb file
for replacing div, so i want make it simple with out going
to .js.erb and also should replace div with partial html

thanks,
-pab

You the hell

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