Top "Rjs" questions

Ruby Javascript Generator Templates.

Javascript Include Tag Best Practice in a Rails Application

Say I need to call a javascript file in the <head> of an ERb template. My instinct is …

javascript ruby-on-rails header rjs
(Rails) What is "RJS"?

I've seen "RJS" and "RJS templates" mentioned in passing in blog posts and tutorials. I did a search, but I'm …

ruby-on-rails ajax prototypejs rjs
Rails 3 and RJS

I use the rails 3.0.0.beta Is there any new syntax to write RJS, here is an example def remote_create @…

ruby-on-rails ruby ruby-on-rails-3 rjs
Passing multiple rails variables to javascript

I have some values in ruby (variables and objects / hash) that I want to pass on to javascript on the …

javascript ruby-on-rails ruby-on-rails-3 ruby-on-rails-3.1 rjs
RJS error: TypeError: element is null

I got RJS error: TypeError: element is null while using ajax. I used in view <%= periodically_call_remote(:url=&…

javascript ruby-on-rails ajax rjs
Rails 3: Simple AJAXy Page updates?

I can't believe I've been looking four hours for this simple task, but I have. In Rails 2.3, I could replace …

ruby-on-rails jquery rjs
Ruby on Rails Country/State Select Enigma

I am trying to implement something seemingly very simple, and I have been beating my head against it for days …

ruby-on-rails ruby ajax rjs
How to reload a div using render(:update) and replace_html?

How to reload only the div id on a page? I just need to reload a certain div. in my …

ruby-on-rails rjs renderpartial
Ajax pop up box using Ruby on Rails

This is a pretty basic question but I can't find a good answer for it. I have a page in …

javascript ruby-on-rails ajax popup rjs